From 3e7abf87f47107112541d4fb7b3f868caee95639 Mon Sep 17 00:00:00 2001 From: qbix79 Date: Thu, 5 Jun 2008 14:10:18 +0000 Subject: [PATCH] 64 bit fix for caching sounds. Maybe nyXXXX will be happy now. git-svn-id: https://svn.eduke32.com/eduke32@767 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/sounds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polymer/eduke32/source/sounds.c b/polymer/eduke32/source/sounds.c index 7529c79df..fa3d2497f 100644 --- a/polymer/eduke32/source/sounds.c +++ b/polymer/eduke32/source/sounds.c @@ -269,7 +269,7 @@ int loadsound(unsigned int num) g_sounds[num].lock = 200; - allocache((int *)&g_sounds[num].ptr,l,(char *)&g_sounds[num].lock); + allocache((intptr_t *)&g_sounds[num].ptr,l,(char *)&g_sounds[num].lock); kread(fp, g_sounds[num].ptr , l); kclose(fp); return 1;