avoid gcc warning & potential failure: make sure to stay inside array bounds

This commit is contained in:
marschap
2008-10-08 19:26:07 +00:00
parent a66c4d3ba6
commit 58c93a6bb5
+1 -1
View File
@@ -18,7 +18,7 @@
#define LCDP_AC_OFF 0x00
#define LCDP_AC_ON 0x01
#define LCDP_AC_BACKUP 0x02
#define LCDP_AC_UNKNOWN 0xFF
#define LCDP_AC_UNKNOWN 0x03
extern int Quit;
extern int sock;