diff options
-rw-r--r-- | girepository/gitypelib.c | 2 | ||||
-rw-r--r-- | tools/generate.c | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/girepository/gitypelib.c b/girepository/gitypelib.c index 5469e8b2..ef87c0e6 100644 --- a/girepository/gitypelib.c +++ b/girepository/gitypelib.c @@ -314,7 +314,7 @@ validate_header_basic (const guint8 *memory, G_TYPELIB_ERROR, G_TYPELIB_ERROR_INVALID_HEADER, "Typelib size %" G_GSIZE_FORMAT " does not match %" G_GSIZE_FORMAT, - header->size, len); + (gsize) header->size, len); return FALSE; } diff --git a/tools/generate.c b/tools/generate.c index b4569019..395caff6 100644 --- a/tools/generate.c +++ b/tools/generate.c @@ -41,7 +41,6 @@ main (int argc, char *argv[]) GError *error = NULL; gboolean needs_prefix; gint i; - GTypelib *data; GOptionEntry options[] = { { "shlib", 0, 0, G_OPTION_ARG_NONE, &shlib, "handle typelib embedded in shlib", NULL }, |