Skip to content

Commit

Permalink
Merge pull request #55 from thbeu/fix-constness
Browse files Browse the repository at this point in the history
Fix constness (and avoid MSVC warning)
  • Loading branch information
rouault authored Oct 31, 2023
2 parents 0f3869f + 69dcade commit ce82b93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion safileio.c
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ void SASetupDefaultHooks(SAHooks *psHooks)

#ifdef SHPAPI_WINDOWS

const wchar_t *Utf8ToWideChar(const char *pszFilename)
static wchar_t *Utf8ToWideChar(const char *pszFilename)
{
const int nMulti = strlen(pszFilename) + 1;
const int nWide =
Expand Down

0 comments on commit ce82b93

Please sign in to comment.