summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2015-03-21 14:41:53 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2015-03-24 08:16:42 -0500
commit90f2544035e2daa96cdfd3407e7749a8998762cd (patch)
treea454ff43a2b07d636ebbec014c7038236cf2e9b1
parentnds/libnds/source/arm7/clock.c: Avoid over indexing array (diff)
downloadrtems-90f2544035e2daa96cdfd3407e7749a8998762cd.tar.bz2
nds/libnds/source/arm9/image.c: Add needed cast
-rw-r--r--c/src/lib/libbsp/arm/nds/libnds/source/arm9/image.c2
1 files changed, 1 insertions, 1 deletions
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 966841887d..bef1fa2fc0 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;
}
//---------------------------------------------------------------------------------