]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/utilsres.cpp
Explicit casting/instantiation to resolve ambiguous overload.
[wxWidgets.git] / src / gtk1 / utilsres.cpp
index 619a055713690a2132ab4da38cd9bcaa27af48ec..4dc2843925463d8201c97ad8e8eb9c59ea93c790 100644 (file)
@@ -85,7 +85,7 @@ static wxChar *GetResourcePath(wxChar *buf, wxChar *name, bool create)
 // the Real User, then determine the Real home dir.
 static wxChar *GetIniFile(wxChar *dest, const wxChar *filename)
 {
-    wxChar *home = (wxChar *) NULL;
+    const wxChar *home = (const wxChar *) NULL;
     if (filename && wxIsAbsolutePath(filename))
     {
       wxStrcpy(dest, filename);