mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +00:00
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:
parent
bb24d228c7
commit
3e7abf87f4
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue