2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
+ * libs/gst/check/gstcheck.h:
+ Use const gchar * variables in fail_unless_equals_string
+ macro to avoid compiler warnings (and don't use tabs for
+ indenting).
+
+2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
+
* tools/gst-launch.c: (print_tag):
More space on the left for the tag names, to cater
for the 'extended comment' tag (not touching the
} G_STMT_END;
#define assert_equals_uint64(a, b) fail_unless_equals_uint64(a, b)
-#define fail_unless_equals_string(a, b) \
-G_STMT_START { \
- gchar * first = a; \
- gchar * second = b; \
- fail_unless(strcmp (first, second) == 0, \
- "'" #a "' (%s) is not equal to '" #b"' (%s)", first, second); \
+#define fail_unless_equals_string(a, b) \
+G_STMT_START { \
+ const gchar * first = a; \
+ const gchar * second = b; \
+ fail_unless(strcmp (first, second) == 0, \
+ "'" #a "' (%s) is not equal to '" #b"' (%s)", first, second); \
} G_STMT_END;
#define assert_equals_string(a, b) fail_unless_equals_string(a, b)