summaryrefslogtreecommitdiff
path: root/spritecache.c
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2006-08-20 12:09:32 +0000
committertruelight <truelight@openttd.org>2006-08-20 12:09:32 +0000
commit5fb6c9e1cc073ad96d62efc423e87d79d38d435a (patch)
tree8ea819b5d596c612f5f825b3e4881663c4af5722 /spritecache.c
parentb83703b215bec2b7a6147a6b4a7ec60832da5230 (diff)
downloadopenttd-5fb6c9e1cc073ad96d62efc423e87d79d38d435a.tar.xz
(svn r5974) -Codechange: added casts all around the place to make Windows 64bit happy (michi_cc)
Diffstat (limited to 'spritecache.c')
-rw-r--r--spritecache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/spritecache.c b/spritecache.c
index 8e99a34f4..9fe087f99 100644
--- a/spritecache.c
+++ b/spritecache.c
@@ -192,7 +192,7 @@ static inline MemBlock* NextBlock(MemBlock* block)
static uint32 GetSpriteCacheUsage(void)
{
- size_t tot_size = 0;
+ uint32 tot_size = 0;
MemBlock* s;
for (s = _spritecache_ptr; s->size != 0; s = NextBlock(s))