diff --git a/tools/pak/pakfile.c b/tools/pak/pakfile.c index de792d47c..c3703f079 100644 --- a/tools/pak/pakfile.c +++ b/tools/pak/pakfile.c @@ -7,7 +7,7 @@ Structs for pack files on disk */ -#define PAK_PATH_LENGTH +#define PAK_PATH_LENGTH 56 typedef struct { char name[PAK_PATH_LENGTH]; @@ -79,7 +79,7 @@ open_pack (const char *name) goto error; } pack->files = malloc (numpackfiles * sizeof (packfile_t)); - if (!pack->files) + if (!pack->files) { fprintf (stderr, "out of memory\n"); goto error; }