mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-18 20:25:25 +00:00
Tests: fix CMP_FAIL on 32-bit machines
This commit is contained in:
parent
5a3ea63a1c
commit
2b63a52a6a
1 changed files with 2 additions and 2 deletions
|
@ -236,10 +236,10 @@ GST_END_TEST;
|
||||||
#define CMP_FAIL(obj, ...) \
|
#define CMP_FAIL(obj, ...) \
|
||||||
{\
|
{\
|
||||||
gchar *file, *func;\
|
gchar *file, *func;\
|
||||||
guint64 line;\
|
guint line;\
|
||||||
file = g_object_get_data (G_OBJECT(obj), "file");\
|
file = g_object_get_data (G_OBJECT(obj), "file");\
|
||||||
func = g_object_get_data (G_OBJECT(obj), "function");\
|
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,\
|
gst_debug_log (GST_CAT_DEFAULT, GST_LEVEL_ERROR, file, func,\
|
||||||
line, G_OBJECT(obj), __VA_ARGS__);\
|
line, G_OBJECT(obj), __VA_ARGS__);\
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue