[Swfdec-commits] Branch '0.8' - 2 commits - .gitignore test/swfdec_test_image.c
Benjamin Otte
company at kemper.freedesktop.org
Tue Nov 4 04:10:27 PST 2008
.gitignore | 2 ++
test/swfdec_test_image.c | 6 +++---
2 files changed, 5 insertions(+), 3 deletions(-)
New commits:
commit 0a79003d8e162faa22c5167a824f9155c8a0df03
Author: Benjamin Otte <otte at gnome.org>
Date: Tue Nov 4 13:06:24 2008 +0100
update .gitignore for new aclocal
diff --git a/.gitignore b/.gitignore
index 255ce62..39e029b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,5 @@
+m4/
+
*~
.cvsignore
INSTALL
commit 912799c9779bb185ecee62308a03bb06a2e138bd
Author: Benjamin Otte <otte at gnome.org>
Date: Tue Nov 4 13:05:09 2008 +0100
fix cast alignment warning in testing code
diff --git a/test/swfdec_test_image.c b/test/swfdec_test_image.c
index b54f713..98cd559 100644
--- a/test/swfdec_test_image.c
+++ b/test/swfdec_test_image.c
@@ -99,9 +99,9 @@ buffer_diff_core (unsigned char *buf_a,
guint32 *row_a, *row_b, *row;
for (y = 0; y < height; y++) {
- row_a = (guint32 *) (buf_a + y * stride_a);
- row_b = (guint32 *) (buf_b + y * stride_b);
- row = (guint32 *) (buf_diff + y * stride_diff);
+ row_a = (guint32 *) (gpointer) (buf_a + y * stride_a);
+ row_b = (guint32 *) (gpointer) (buf_b + y * stride_b);
+ row = (guint32 *) (gpointer) (buf_diff + y * stride_diff);
for (x = 0; x < width; x++) {
/* check if the pixels are the same */
if (row_a[x] != row_b[x]) {
More information about the Swfdec-commits
mailing list