summaryrefslogtreecommitdiff
path: root/libs/zlib/src/iowin32.c
diff options
context:
space:
mode:
authordartraiden <wowemuh@gmail.com>2017-05-15 20:43:40 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-05-15 21:00:34 +0300
commitcea8ae30236ffae064576720537c1952de21450e (patch)
tree8dfbcdf4133a653534f162041dd6d4789f783b73 /libs/zlib/src/iowin32.c
parent738ea8d4ababc946b4cd4609f962108bfedc1e79 (diff)
zlib: merge Miranda-specific fixes
Diffstat (limited to 'libs/zlib/src/iowin32.c')
-rw-r--r--libs/zlib/src/iowin32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/zlib/src/iowin32.c b/libs/zlib/src/iowin32.c
index 274f39eb1d..f37033bda8 100644
--- a/libs/zlib/src/iowin32.c
+++ b/libs/zlib/src/iowin32.c
@@ -33,7 +33,7 @@
#endif
#endif
-voidpf ZCALLBACK win32_open_file_func OF((voidpf opaque, const char* filename, int mode));
+voidpf ZCALLBACK win32_open_file_func OF((voidpf opaque, const wchar_t* filename, int mode));
uLong ZCALLBACK win32_read_file_func OF((voidpf opaque, voidpf stream, void* buf, uLong size));
uLong ZCALLBACK win32_write_file_func OF((voidpf opaque, voidpf stream, const void* buf, uLong size));
ZPOS64_T ZCALLBACK win32_tell64_file_func OF((voidpf opaque, voidpf stream));
@@ -166,7 +166,7 @@ voidpf ZCALLBACK win32_open64_file_funcW (voidpf opaque,const void* filename,int
}
-voidpf ZCALLBACK win32_open_file_func (voidpf opaque,const char* filename,int mode)
+voidpf ZCALLBACK win32_open_file_func (voidpf opaque,const wchar_t* filename,int mode)
{
const char* mode_fopen = NULL;
DWORD dwDesiredAccess,dwCreationDisposition,dwShareMode,dwFlagsAndAttributes ;