+#undef G_DISABLE_ASSERT
+#undef G_LOG_DOMAIN
+
#include <stdio.h>
#include <glib.h>
GError **error)
{
indent (0);
- printf ("TEXT '%s'\n", text);
+ printf ("TEXT '%.*s'\n", (int)text_len, text);
}
{
indent (0);
- printf ("PASS '%s'\n", passthrough_text);
+ printf ("PASS '%.*s'\n", (int)text_len, passthrough_text);
}
static void
test_file (const gchar *filename)
{
gchar *contents;
- gint length;
+ gsize length;
GError *error;
GMarkupParseContext *context;
return 1;
}
}
+