From e8a1b1c4e502ecbb70028bd5a86034bfe1b16997 Mon Sep 17 00:00:00 2001 From: Rolland Dudemaine Date: Tue, 25 Jan 2011 13:55:28 +0200 Subject: [PATCH] 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 --- test/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/utils.c b/test/utils.c index a7abec5..2f21398 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); } -- 2.7.4