diff --git a/Source/exehead/fileform.c b/Source/exehead/fileform.c index 0cd9475f..8397ba80 100644 --- a/Source/exehead/fileform.c +++ b/Source/exehead/fileform.c @@ -17,10 +17,6 @@ */ #include "../Platform.h" -#if defined(__cplusplus) && defined(truncate_cast) -#undef BUGBUG64TRUNCATE -#define BUGBUG64TRUNCATE truncate_cast -#endif #include "fileform.h" #include "util.h" #include "state.h" diff --git a/Source/script.cpp b/Source/script.cpp index 8706a55d..5533c43e 100644 --- a/Source/script.cpp +++ b/Source/script.cpp @@ -6094,7 +6094,8 @@ int CEXEBuild::doCommand(int which_token, LineParser &line) { CEXEBuild::TARGETTYPE tt = m_target_type; int numtok = line.getnumtokens() - 1; - const TCHAR *path = line.gettoken_str(numtok), *cmdnam = get_commandtoken_name(which_token), *arcstr = 0; + TCHAR *path = line.gettoken_str(numtok); + const TCHAR *cmdnam = get_commandtoken_name(which_token), *arcstr = 0; if (2 == numtok) { arcstr = line.gettoken_str(--numtok);