string test alignment fix by Mahesh Bodapati
[libc-test] / src / functional / string_memset.c
index c85ade2..405d49e 100644 (file)
@@ -11,7 +11,7 @@ static void *(*volatile pmemset)(void *, int, size_t);
 
 static char *aligned(void *p)
 {
 
 static char *aligned(void *p)
 {
-       return (char*)(((uintptr_t)p + 63) & -64U);
+       return (char*)(((uintptr_t)p + 63) & -64);
 }
 
 static void test_align(int align, int len)
 }
 
 static void test_align(int align, int len)