diff system/system_config.cc @ 47:5f548e5957a8

* get rid of the "deprecated conversion from string constant to ‘char*’" warnings
author thib
date Wed, 15 Apr 2009 20:26:32 +0000
parents 651237260724
children ed6c21dde840
line wrap: on
line diff
--- a/system/system_config.cc
+++ b/system/system_config.cc
@@ -212,7 +212,7 @@ public:
 		return;
 	}
 	const char* PatchOriginal(const char* data) {
-		static char* table = "?\"',.:;=<>";
+		static const char* table = "?\"',.:;=<>";
 		if (new_data) delete[] new_data;
 		if (old_data) delete[] old_data;
 		new_data = 0; old_data = 0;