[PATCH 2/6] netX: use correct sized pointers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Signed-off-by: Juergen Beisert <jbe@xxxxxxxxxxxxxx>
---
 arch/arm/mach-netx/generic.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/arm/mach-netx/generic.c b/arch/arm/mach-netx/generic.c
index e4763c6..f9d643f 100644
--- a/arch/arm/mach-netx/generic.c
+++ b/arch/arm/mach-netx/generic.c
@@ -63,7 +63,7 @@ static int xc_patch(int xcno, void *patch, int count)
 static void memset32(void *s, int c, int n)
 {
 	int i;
-	unsigned int *t = s;
+	u32 *t = s;
 
 	for (i = 0; i < (n >> 2); i++)
 		*t++ = 0;
@@ -72,8 +72,8 @@ static void memset32(void *s, int c, int n)
 static void memcpy32(void *trg, void *src, int size)
 {
 	int i;
-	unsigned int *t = trg;
-	unsigned int *s = src;
+	u32 *t = trg;
+	u32 *s = src;
 	for (i = 0; i < (size >> 2); i++)
 		*t++ = *s++;
 }
-- 
1.7.10


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox


[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Free Online Dating]     [Linux Kernel]     [Linux SCSI]     [XFree86]

Add to Google Powered by Linux