projects
/
platform
/
upstream
/
pixman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8e4677
)
test: Fix for mismatched 'fence_malloc' prototype/implementation
author
Rolland Dudemaine
<rolland@ghs.com>
Tue, 25 Jan 2011 11:55:28 +0000
(13:55 +0200)
committer
Siarhei 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
patch
|
blob
|
history
diff --git
a/test/utils.c
b/test/utils.c
index
a7abec5
..
2f21398
100644
(file)
--- 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);
}