summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRolland Dudemaine <rolland@ghs.com>2011-01-25 13:55:28 +0200
committerSiarhei Siamashka <siarhei.siamashka@nokia.com>2011-01-25 14:34:56 +0200
commite8a1b1c4e502ecbb70028bd5a86034bfe1b16997 (patch)
treec62b5276cb444cd88207bbd1fee7bde8601ecf58
parenta8e4677ecc2fcbf16a53902e26fc82d0860e9a21 (diff)
test: Fix for mismatched 'fence_malloc' prototype/implementation
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
-rw-r--r--test/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/utils.c b/test/utils.c
index a7abec5d..2f213984 100644
--- a/test/utils.c
+++ b/test/utils.c
@@ -295,7 +295,7 @@ fence_free (void *data)
#else
void *
-fence_malloc (uint32_t len)
+fence_malloc (int64_t len)
{
return malloc (len);
}