diff options
author | michi_cc <michi_cc@openttd.org> | 2015-08-10 20:24:13 +0000 |
---|---|---|
committer | michi_cc <michi_cc@openttd.org> | 2015-08-10 20:24:13 +0000 |
commit | 2b8bb12d623a64897636234ed3c508517a1a2ba6 (patch) | |
tree | 015abed42269cf73bb83b2f92b029084735d82cd /src/textfile_gui.cpp | |
parent | 35b77450f80580da2aa7f087aa2a1631b92ebd62 (diff) | |
download | openttd-2b8bb12d623a64897636234ed3c508517a1a2ba6.tar.xz |
(svn r27381) -Fix: Warnings due to C++11 requirements for explicit narrowing conversions in initializer lists.
Diffstat (limited to 'src/textfile_gui.cpp')
-rw-r--r-- | src/textfile_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/textfile_gui.cpp b/src/textfile_gui.cpp index 3efd98497..b0f9b1125 100644 --- a/src/textfile_gui.cpp +++ b/src/textfile_gui.cpp @@ -227,7 +227,7 @@ static void Gunzip(byte **bufp, size_t *sizep) memset(&z, 0, sizeof(z)); z.next_in = *bufp; - z.avail_in = *sizep; + z.avail_in = (uInt)*sizep; /* window size = 15, add 32 to enable gzip or zlib header processing */ res = inflateInit2(&z, 15 + 32); |