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
This commit is contained in:
qbix79 2008-06-05 14:10:18 +00:00
parent bb24d228c7
commit 3e7abf87f4

View file

@ -269,7 +269,7 @@ int loadsound(unsigned int num)
g_sounds[num].lock = 200; 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); kread(fp, g_sounds[num].ptr , l);
kclose(fp); kclose(fp);
return 1; return 1;