From: Brandon Lewis Date: Thu, 2 Dec 2010 19:47:23 +0000 (+0000) Subject: Tests: fix CMP_FAIL on 32-bit machines X-Git-Tag: 1.19.3~493^2~2520 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2b63a52a6a7555895f9708a71840f171721d3ca2;p=platform%2Fupstream%2Fgstreamer.git Tests: fix CMP_FAIL on 32-bit machines --- diff --git a/tests/check/ges/save_and_load.c b/tests/check/ges/save_and_load.c index 124fe4b..f63645c 100644 --- a/tests/check/ges/save_and_load.c +++ b/tests/check/ges/save_and_load.c @@ -236,10 +236,10 @@ GST_END_TEST; #define CMP_FAIL(obj, ...) \ {\ gchar *file, *func;\ - guint64 line;\ + guint line;\ file = g_object_get_data (G_OBJECT(obj), "file");\ func = g_object_get_data (G_OBJECT(obj), "function");\ - line = (guint64) g_object_get_data (G_OBJECT(obj), "line");\ + line = GPOINTER_TO_UINT(g_object_get_data (G_OBJECT(obj), "line"));\ gst_debug_log (GST_CAT_DEFAULT, GST_LEVEL_ERROR, file, func,\ line, G_OBJECT(obj), __VA_ARGS__);\ }