X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7a21e692d22ec16a5de7dbbb73761d4c4456edaa..31d7fc0f9cb3f5913ecd4a039a816487a6753a93:/src/common/filefn.cpp diff --git a/src/common/filefn.cpp b/src/common/filefn.cpp index 1f80781a6a..293e9feecf 100644 --- a/src/common/filefn.cpp +++ b/src/common/filefn.cpp @@ -751,7 +751,7 @@ wxContractPath (const wxString& filename, const wxString& envname, const wxStrin #endif // Handle User's home (ignore root homes!) - size_t len; + size_t len = 0; if ((val = wxGetUserHome (user)) != NULL && (len = wxStrlen(val)) > 2 && wxStrncmp(dest, val, len) == 0) @@ -1095,7 +1095,7 @@ wxString wxMacFSSpec2UnixFilename( const FSSpec *spec ) return wxMac2UnixFilename( wxMacFSSpec2MacFilename( spec) ) ; } -void wxUnixFilename2FSSpec( const char *path , FSSpec *spec ) +void wxUnixFilename2FSSpec( const wxChar *path , FSSpec *spec ) { wxString var = wxUnix2MacFilename( path ) ; wxMacFilename2FSSpec( var , spec ) ;