pixman: Branch 'master'
Jinghua Luo
jinghua at kemper.freedesktop.org
Fri Jun 13 18:08:02 PDT 2008
pixman/pixman-region16.c | 2 ++
pixman/pixman-region32.c | 2 ++
2 files changed, 4 insertions(+)
New commits:
commit eb2d95de98683a387153f010077ad9c3c3b1b01d
Author: Luo Jinghua <sunmoon1997 at gmail.com>
Date: Sat Jun 14 09:07:22 2008 +0800
Fix implicit declaration of function 'free'.
Otherwise pointer will be truncated on 64bit arch and your programs will crash.
diff --git a/pixman/pixman-region16.c b/pixman/pixman-region16.c
index 869e18d..e0dc008 100644
--- a/pixman/pixman-region16.c
+++ b/pixman/pixman-region16.c
@@ -30,6 +30,8 @@
#include "pixman-private.h"
+#include <stdlib.h>
+
typedef pixman_box16_t box_type_t;
typedef pixman_region16_data_t region_data_type_t;
typedef pixman_region16_t region_type_t;
diff --git a/pixman/pixman-region32.c b/pixman/pixman-region32.c
index 6e083b5..8a30d1d 100644
--- a/pixman/pixman-region32.c
+++ b/pixman/pixman-region32.c
@@ -28,6 +28,8 @@
#include "pixman-private.h"
+#include <stdlib.h>
+
typedef pixman_box32_t box_type_t;
typedef pixman_region32_data_t region_data_type_t;
typedef pixman_region32_t region_type_t;
More information about the xorg-commit
mailing list