Permalink
Browse files

Fixed type conversion error in C tests

  • Loading branch information...
dbalmain committed Dec 30, 2010
1 parent e4536b4 commit 5cb10dd02c467a0fae0329009b263bbcbb8afed0
Showing with 1 addition and 1 deletion.
  1. +1 −1 c/test/test_global.c
View
@@ -68,7 +68,7 @@ static void test_icmp(TestCase *tc, void *data)
static void test_alloc(TestCase *tc, void *data)
{
data = lmalloc(100);
- Aiequal(100, *(int *)data);
+ Aiequal(100, *(unsigned long *)data);
free(data);
data = u32malloc(100);

0 comments on commit 5cb10dd

Please sign in to comment.