diff options
Diffstat (limited to 'gob/video.cpp')
-rw-r--r-- | gob/video.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gob/video.cpp b/gob/video.cpp index 62d8174ac2..6df2b28903 100644 --- a/gob/video.cpp +++ b/gob/video.cpp @@ -140,7 +140,7 @@ SurfaceDesc *vid_initSurfDesc(int16 vidMode, int16 width, int16 height, int16 fl void vid_freeSurfDesc(SurfaceDesc * surfDesc) { sprAllocated--; if (surfDesc != pPrimarySurfDesc) - free((char *)surfDesc); + free(surfDesc); else free(surfDesc->vidPtr); } |