From a35ef6b242001344ec93390c8154c7f14fd95946 Mon Sep 17 00:00:00 2001 From: Andrew Alderwick Date: Sat, 9 Apr 2022 11:37:06 +0100 Subject: [PATCH] Fix build warning on Windows. --- src/devices/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/devices/file.c b/src/devices/file.c index c0ecc4e..658ac7c 100644 --- 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)) {