aboutsummaryrefslogtreecommitdiffstats
path: root/demos/3rdparty
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@unormal.org>2014-02-02 12:59:36 +0100
committerJoel Bodenmann <joel@unormal.org>2014-02-02 12:59:36 +0100
commit6515373b2a63a24b77ff20a26e9b18468f29a6f9 (patch)
tree3defb6803ece269740bef971244ebee5a44173ed /demos/3rdparty
parentbf8ceb278fc285eff477294e1ae2cf539ada747b (diff)
downloaduGFX-6515373b2a63a24b77ff20a26e9b18468f29a6f9.tar.gz
uGFX-6515373b2a63a24b77ff20a26e9b18468f29a6f9.tar.bz2
uGFX-6515373b2a63a24b77ff20a26e9b18468f29a6f9.zip
removing casts of gfxAlloc() return value as that is the whole idea behind having a void pointer
Diffstat (limited to 'demos/3rdparty')
-rw-r--r--demos/3rdparty/doom/i_system.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/3rdparty/doom/i_system.c b/demos/3rdparty/doom/i_system.c
index 094144f6..aa1d7481 100644
--- a/demos/3rdparty/doom/i_system.c
+++ b/demos/3rdparty/doom/i_system.c
@@ -66,7 +66,7 @@ int I_GetHeapSize (void)
byte* I_ZoneBase (int* size)
{
*size = mb_used*1024*1024;
- return (byte *) gfxAlloc (*size);
+ return gfxAlloc (*size);
}
@@ -124,7 +124,7 @@ byte* I_Malloc(int length)
{
byte* mem;
- mem = (byte *)gfxAlloc (length);
+ mem = gfxAlloc (length);
memset (mem,0,length);
return mem;
}