commit a35ef6b242001344ec93390c8154c7f14fd95946
parent 1e0edd746113955794471fac640b8f52ed8d1a72
Author: Andrew Alderwick <andrew@alderwick.co.uk>
Date: Sat, 9 Apr 2022 11:37:06 +0100
Fix build warning on Windows.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/devices/file.c b/src/devices/file.c
@@ -66,7 +66,7 @@ get_entry(char *p, Uint16 len, const char *pathname, const char *basename, int f
static Uint16
file_read_dir(UxnFile *c, char *dest, Uint16 len)
{
- static char pathname[4352];
+ static char pathname[4356];
char *p = dest;
if(c->de == NULL) c->de = readdir(c->dir);
for(; c->de != NULL; c->de = readdir(c->dir)) {