]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - contrib/prtview/prtview.cpp
Remove most of the compiler warning in radiant
[xonotic/netradiant.git] / contrib / prtview / prtview.cpp
index 301ac9ea154a8835682c9b22a6a89d3a285ea359..36702213c2018bdc46abee5fa56061e667a40391 100644 (file)
@@ -162,7 +162,7 @@ void SaveConfig(){
 
 #define CONFIG_SECTION "Configuration"
 
-int INIGetInt( char *key, int def ){
+int INIGetInt( const char *key, int def ){
        char value[1024];
 
        if ( read_var( INIfn.c_str(), CONFIG_SECTION, key, value ) ) {
@@ -173,7 +173,7 @@ int INIGetInt( char *key, int def ){
        }
 }
 
-void INISetInt( char *key, int val, char *comment /* = NULL */ ){
+void INISetInt( const char* key, int val, const char* comment /* = NULL */ ){
        char s[1000];
 
        if ( comment ) {