[PATCH 34/42] nds/libnds/source/arm9/image.c: Add needed cast

Joel Sherrill joel.sherrill at oarcorp.com
Mon Mar 23 14:39:32 UTC 2015


---
 c/src/lib/libbsp/arm/nds/libnds/source/arm9/image.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/c/src/lib/libbsp/arm/nds/libnds/source/arm9/image.c b/c/src/lib/libbsp/arm/nds/libnds/source/arm9/image.c
index 9668418..bef1fa2 100644
--- a/c/src/lib/libbsp/arm/nds/libnds/source/arm9/image.c
+++ b/c/src/lib/libbsp/arm/nds/libnds/source/arm9/image.c
@@ -121,7 +121,7 @@ void imageTileData(sImage* img) {
 
 	free(img->image.data32);
 
-	img->image.data32 = temp;
+	img->image.data32 = (unsigned int *)temp;
 }
 
 //---------------------------------------------------------------------------------
-- 
1.9.3




More information about the devel mailing list