summaryrefslogtreecommitdiff
path: root/src/i_system.c
diff options
context:
space:
mode:
authorSimon Howard2005-08-04 18:42:15 +0000
committerSimon Howard2005-08-04 18:42:15 +0000
commit3aeb98b92575dccb70df15c393c95a72891ce205 (patch)
tree63720b4d6abb9f71a603984ea3997554d0e9aa99 /src/i_system.c
parentb500013f80419217013ada4211662e9bea2702e4 (diff)
downloadchocolate-doom-3aeb98b92575dccb70df15c393c95a72891ce205.tar.gz
chocolate-doom-3aeb98b92575dccb70df15c393c95a72891ce205.tar.bz2
chocolate-doom-3aeb98b92575dccb70df15c393c95a72891ce205.zip
Silence compiler warnings
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 37
Diffstat (limited to 'src/i_system.c')
-rw-r--r--src/i_system.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/i_system.c b/src/i_system.c
index 370bba7f..34f46b5e 100644
--- a/src/i_system.c
+++ b/src/i_system.c
@@ -1,7 +1,7 @@
// Emacs style mode select -*- C++ -*-
//-----------------------------------------------------------------------------
//
-// $Id: i_system.c 34 2005-08-04 01:14:37Z fraggle $
+// $Id: i_system.c 37 2005-08-04 18:42:15Z fraggle $
//
// Copyright(C) 1993-1996 Id Software, Inc.
// Copyright(C) 2005 Simon Howard
@@ -22,6 +22,9 @@
// 02111-1307, USA.
//
// $Log$
+// Revision 1.7 2005/08/04 18:42:15 fraggle
+// Silence compiler warnings
+//
// Revision 1.6 2005/08/04 01:14:37 fraggle
// Begin/EndRead now in i_video.c
//
@@ -46,7 +49,7 @@
//-----------------------------------------------------------------------------
static const char
-rcsid[] = "$Id: i_system.c 34 2005-08-04 01:14:37Z fraggle $";
+rcsid[] = "$Id: i_system.c 37 2005-08-04 18:42:15Z fraggle $";
#include <stdlib.h>
@@ -100,7 +103,7 @@ byte* I_ZoneBase (int* size)
*size = mb_used*1024*1024;
zonemem = malloc (*size);
printf("zone memory: %x, %x allocated for zone\n",
- (long) zonemem, *size);
+ (int) zonemem, *size);
return zonemem;
}