wmcalc: Fix -Warray-bounds compiler warning.
This commit is contained in:
parent
304860b38d
commit
d5d266d6d1
|
@ -114,8 +114,8 @@ int main( int argc, char **argv ) {
|
||||||
strcat(tempfile, CONFTEMPFILE); // Setup name for temp file
|
strcat(tempfile, CONFTEMPFILE); // Setup name for temp file
|
||||||
|
|
||||||
/* Clear the Calculator Display */
|
/* Clear the Calculator Display */
|
||||||
for(i=0; i<11; i++) DispString[i] = ' ';
|
for(i=0; i<DISPSIZE; i++) DispString[i] = ' ';
|
||||||
DispString[11] = '\0';
|
DispString[DISPSIZE] = '\0';
|
||||||
|
|
||||||
/* Parse Command Line Arguments */
|
/* Parse Command Line Arguments */
|
||||||
for ( i=1; i < argc; i++ ) {
|
for ( i=1; i < argc; i++ ) {
|
||||||
|
|
Loading…
Reference in a new issue