Skip to content

Commit cddce71

Browse files
committed
Silence compiler warning
1 parent 85a5c36 commit cddce71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: scedasd.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ REGS* regs; /* -> Regs */
306306
FILE* fp;
307307
char inputbuff[MAX_PATH];
308308
char* inputline;
309-
char filename[MAX_PATH]; /* filename of image file */
309+
char filename[MAX_PATH+1]; /* filename of image file */
310310
char pathname[MAX_PATH]; /* pathname of image file */
311311
U32 fileaddr;
312312
int rc = 0; /* Return codes (work) */

0 commit comments

Comments
 (0)