summaryrefslogtreecommitdiff
path: root/src/util/Cache.c
diff options
context:
space:
mode:
authorgoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>2000-03-07 16:25:49 +0000
committergoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>2000-03-07 16:25:49 +0000
commit5049fcf6f1deac4860b7e369191ed5ec3bcb0251 (patch)
treef542c9b1216f6238e6e8605ed5eb8be0e827f786 /src/util/Cache.c
parentb1f7a568b2292bd1d8d6f065a4000518e37f386f (diff)
Explicit cast as required by the NEC compiler.
Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1442 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/util/Cache.c')
-rw-r--r--src/util/Cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/Cache.c b/src/util/Cache.c
index 2c6f2d18..17f85bdd 100644
--- a/src/util/Cache.c
+++ b/src/util/Cache.c
@@ -91,7 +91,7 @@ void *Util_CacheMalloc(unsigned index,
cache_size = 0;
}
- data = (char *)malloc(size+cache_size);
+ data = (char *)malloc((size_t)(size+cache_size));
if(data)
{