blob: 12f33cd21c85dbd1730fef8a6737a54c3a65ca57 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
--- a/base/Config.cpp
+++ b/base/Config.cpp
@@ -423,8 +423,8 @@
m_sDataDir = string(EM_DATADIR) + "/";
m_sExeDir = "./";
if ( *( m_sDataDir.c_str() ) != '/' ) {
- char* ptr=0;
- char* ptrw = 0;
+ const char* ptr=0;
+ const char* ptrw = 0;
//cout<<"relative to exe file"<<endl;
ptr = (strrchr(argv0,'/')); // unix /cygwin / check win32
#ifdef WIN32
|