diff options
-rw-r--r-- | src/music.cpp | 1 | ||||
-rw-r--r-- | src/music.h | 2 | ||||
-rw-r--r-- | src/strgen/strgen.cpp | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/src/music.cpp b/src/music.cpp index 7698fd9e1..ac10097ba 100644 --- a/src/music.cpp +++ b/src/music.cpp @@ -2,6 +2,7 @@ /** @file music.cpp */ +#include "stdafx.h" #include "music.h" const SongSpecs origin_songs_specs[NUM_SONGS_AVAILABLE] = { diff --git a/src/music.h b/src/music.h index dbb5214aa..a7a4c388a 100644 --- a/src/music.h +++ b/src/music.h @@ -9,7 +9,7 @@ #define NUM_SONGS_AVAILABLE 22 struct SongSpecs { - char filename[256]; + char filename[MAX_PATH]; char song_name[64]; }; diff --git a/src/strgen/strgen.cpp b/src/strgen/strgen.cpp index d05f0e796..7ace1f1ea 100644 --- a/src/strgen/strgen.cpp +++ b/src/strgen/strgen.cpp @@ -1287,7 +1287,7 @@ static inline char *replace_pathsep(char *s) { return s; } int CDECL main(int argc, char* argv[]) { - char pathbuf[256]; + char pathbuf[MAX_PATH]; const char *src_dir = "."; const char *dest_dir = NULL; |