summaryrefslogtreecommitdiff
path: root/saveload.c
diff options
context:
space:
mode:
authorhackykid <hackykid@openttd.org>2005-06-01 11:52:44 +0000
committerhackykid <hackykid@openttd.org>2005-06-01 11:52:44 +0000
commitf7dcd2e834c28e7b4e4ba6e7833cf79c3b97b335 (patch)
tree85ffc0991699f19e38f7e937f8b493274594c341 /saveload.c
parent351d7aaa9fd2fe1e5cd464130186727df38e646f (diff)
downloadopenttd-f7dcd2e834c28e7b4e4ba6e7833cf79c3b97b335.tar.xz
(svn r2390) - Codechange: Fix some warnings on GCC 4.0.0
Diffstat (limited to 'saveload.c')
-rw-r--r--saveload.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/saveload.c b/saveload.c
index 19402f6c9..f22d7a078 100644
--- a/saveload.c
+++ b/saveload.c
@@ -878,7 +878,7 @@ static bool InitWriteZlib(void)
static void WriteZlibLoop(z_streamp z, byte *p, uint len, int mode)
{
- char buf[1024]; // output buffer
+ byte buf[1024]; // output buffer
int r;
uint n;
z->next_in = p;