fix test case in C++
authorStefan Behnel <scoder@users.berlios.de>
Sat, 17 Oct 2009 12:33:20 +0000 (14:33 +0200)
committerStefan Behnel <scoder@users.berlios.de>
Sat, 17 Oct 2009 12:33:20 +0000 (14:33 +0200)
tests/run/ctruthtests.pyx

index 3a66bd171188cb6758a6e9f81e68a11949c4d9dd..5014496ad8b25ab538e6dad5fb64ded10e085472 100644 (file)
@@ -38,8 +38,8 @@ def test_ptr():
         return False
 
 def test_ptr2():
-    cdef void* p1 = NULL
-    cdef void* p2 = NULL
+    cdef char* p1 = NULL
+    cdef char* p2 = NULL
     p1 += 1
 
     if p1 and p2: