diff --git a/src/oc/fileio.cpp b/src/oc/fileio.cpp index cc43e55707..88b7e96f2f 100644 --- a/src/oc/fileio.cpp +++ b/src/oc/fileio.cpp @@ -473,7 +473,7 @@ void hoc_sprint1(char** ppbuf, int argn) { /* convert args to right type for con } #if defined(WIN32) -static FILE* oc_popen(char* cmd, char* type) { +static FILE* oc_popen(char const* const cmd, char const* const type) { FILE* fp; char buf[1024]; assert(strlen(cmd) + 20 < 1024);