[gobject-introspection] repository: Fix format string error in previous commit



commit f0d0608cea5d827bd024c1a34384d46295fce930
Author: Colin Walters <walters verbum org>
Date:   Mon Oct 12 12:15:36 2015 -0400

    repository: Fix format string error in previous commit
    
    Regression from df21d1f362a810f48a23b7c121bf09ce398539c7

 girepository/gitypelib.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/girepository/gitypelib.c b/girepository/gitypelib.c
index 8ae4b44..aaa8355 100644
--- a/girepository/gitypelib.c
+++ b/girepository/gitypelib.c
@@ -1797,7 +1797,7 @@ validate_object_blob (ValidateContext *ctx,
                    G_TYPELIB_ERROR,
                    G_TYPELIB_ERROR_INVALID_BLOB,
                    "Incorrect number of field callbacks; expected "
-                   G_GUINT16_FORMAT ", got " G_GUINT16_FORMAT,
+                   "%" G_GUINT16_FORMAT ", got %" G_GUINT16_FORMAT,
                    blob->n_field_callbacks, n_field_callbacks);
       return FALSE;
     }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]