test: Fix for mismatched 'fence_malloc' prototype/implementation
authorRolland Dudemaine <rolland@ghs.com>
Tue, 25 Jan 2011 11:55:28 +0000 (13:55 +0200)
committerSiarhei Siamashka <siarhei.siamashka@nokia.com>
Tue, 25 Jan 2011 12:34:56 +0000 (14:34 +0200)
Solves compilation problem when 'mprotect' is not available. For
example, when using Green Hills Software MULTI compiler or mingw:
http://lists.freedesktop.org/archives/pixman/2011-January/000939.html

test/utils.c

index a7abec5..2f21398 100644 (file)
@@ -295,7 +295,7 @@ fence_free (void *data)
 #else
 
 void *
-fence_malloc (uint32_t len)
+fence_malloc (int64_t len)
 {
     return malloc (len);
 }