fix compiler warning: avoid going out of array bounds
This commit is contained in:
1 parent
58c93a6bb5
commit
6b7db138d6
2 files changed
+4
-4
No files matched your search
@@ -84,7 +84,7 @@ typedef struct
|
||||
int C_state;
|
||||
|
||||
/* led handling */
|
||||
char led[7];
|
||||
char led[8];
|
||||
|
||||
} PrivateData;
|
||||
|
||||
|
||||
Reference in new issue
Block a user