From 2c978bc6f72d738d6e06988c09af0e19e82963ee Mon Sep 17 00:00:00 2001 From: Edward Richardson Date: Thu, 26 Mar 2015 23:38:09 +1300 Subject: [PATCH] Change hashfiles filename string to a cstr - It seems some compilers don't like passing FNames to Printf, and this might as well be a cstr anyway. --- src/d_main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/d_main.cpp b/src/d_main.cpp index 6491dc3e3..8b9e54680 100644 --- a/src/d_main.cpp +++ b/src/d_main.cpp @@ -2223,7 +2223,7 @@ void D_DoomMain (void) if (Args->CheckParm("-hashfiles")) { - FString filename = "fileinfo.txt"; + const char *filename = "fileinfo.txt"; Printf("Hashing loaded content to: %s\n", filename); hashfile = fopen(filename, "w"); if (hashfile)