Windows Build

presentation
Andreas Butti 7 years ago
parent 9d05f9a641
commit 09b445fadb
  1. 2
      src/util/GzUtil.cpp

@ -3,7 +3,7 @@
gzFile GzUtil::openPath(Path path, string flags)
{
#ifdef WIN32
wchar_t* wfilename = g_utf8_to_utf16(path.c_str(), -1, NULL, NULL, NULL);
wchar_t* wfilename = (wchar_t*)g_utf8_to_utf16(path.c_str(), -1, NULL, NULL, NULL);
gzFile fp = gzopen_w(wfilename, flags.c_str());
g_free(wfilename);

Loading…
Cancel
Save