avoid gcc warning & potential failure: make sure to stay inside array bounds
This commit is contained in:
1 parent
a66c4d3ba6
commit
58c93a6bb5
1 file changed
+1
-1
@@ -18,7 +18,7 @@
|
|||||||
#define LCDP_AC_OFF 0x00
|
#define LCDP_AC_OFF 0x00
|
||||||
#define LCDP_AC_ON 0x01
|
#define LCDP_AC_ON 0x01
|
||||||
#define LCDP_AC_BACKUP 0x02
|
#define LCDP_AC_BACKUP 0x02
|
||||||
#define LCDP_AC_UNKNOWN 0xFF
|
#define LCDP_AC_UNKNOWN 0x03
|
||||||
|
|
||||||
extern int Quit;
|
extern int Quit;
|
||||||
extern int sock;
|
extern int sock;
|
||||||
|
|||||||
Reference in new issue
Block a user