[pygobject] pygi-argument: Fix -Wformat warning on 32 bit builds
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygobject] pygi-argument: Fix -Wformat warning on 32 bit builds
- Date: Tue, 31 Jul 2012 13:03:29 +0000 (UTC)
commit a2e73c109f3ed6080eabc85810e624b9f984317e
Author: Colin Walters <walters verbum org>
Date: Tue Jul 31 09:02:24 2012 -0400
pygi-argument: Fix -Wformat warning on 32 bit builds
gi/pygi-argument.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gi/pygi-argument.c b/gi/pygi-argument.c
index b73973e..737342a 100644
--- a/gi/pygi-argument.c
+++ b/gi/pygi-argument.c
@@ -438,8 +438,8 @@ check_number_release:
}
if (size != 1) {
- PyErr_Format (PyExc_TypeError, "Must be a one character string, not %ld characters",
- size);
+ PyErr_Format (PyExc_TypeError, "Must be a one character string, not %" G_GINT64_FORMAT " characters",
+ (gint64)size);
retval = 0;
break;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]