diff --git a/common/gestfich.cpp b/common/gestfich.cpp index 9d940055d4..c93b2e1915 100644 --- a/common/gestfich.cpp +++ b/common/gestfich.cpp @@ -289,7 +289,7 @@ bool doPrintFile( const wxString& file, bool aDryRun ) { if( !aDryRun ) { - char* params[3]; + const char* params[3]; params[0] = "lp"; params[1] = file.c_str(); params[2] = nullptr;