summaryrefslogtreecommitdiff
path: root/plugins/Zlib/src/iowin32.c
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-08-07 20:31:50 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-08-07 20:31:50 +0000
commit39de8f56fe51fb8fe82f290d1008eb1381c53290 (patch)
tree337d658a44390c16d102c4e54ecc4ca3c19cc1c5 /plugins/Zlib/src/iowin32.c
parentf2b61a664ae3660ad503eee73ef82ee562a5a5db (diff)
perverted zlib with TCHAR file names
git-svn-id: http://svn.miranda-ng.org/main/trunk@5618 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Zlib/src/iowin32.c')
-rw-r--r--plugins/Zlib/src/iowin32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Zlib/src/iowin32.c b/plugins/Zlib/src/iowin32.c
index a46d96c7fd..1eea0f4399 100644
--- a/plugins/Zlib/src/iowin32.c
+++ b/plugins/Zlib/src/iowin32.c
@@ -32,7 +32,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 TCHAR* 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));
@@ -165,7 +165,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 TCHAR* filename,int mode)
{
const char* mode_fopen = NULL;
DWORD dwDesiredAccess,dwCreationDisposition,dwShareMode,dwFlagsAndAttributes ;