[glib/glib-2-36] Fix compile error in gdbusmessage.c for win64
- From: Jan-Joost Spanjers <jspanjers src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/glib-2-36] Fix compile error in gdbusmessage.c for win64
- Date: Mon, 1 Apr 2013 06:50:20 +0000 (UTC)
commit 3b0b671f2b49064cad6cd5a06ba624910ccd81ad
Author: Hib Eris <hib hiberis nl>
Date: Sun Mar 31 16:40:34 2013 +0200
Fix compile error in gdbusmessage.c for win64
https://bugzilla.gnome.org/show_bug.cgi?id=696973
gio/gdbusmessage.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/gdbusmessage.c b/gio/gdbusmessage.c
index cc94375..5464cef 100644
--- a/gio/gdbusmessage.c
+++ b/gio/gdbusmessage.c
@@ -1384,7 +1384,7 @@ read_string (GMemoryBuffer *mbuf,
"Wanted to read %lu bytes but only got %lu",
(gulong)len),
(gulong)len,
- (gulong)mbuf->valid_len - mbuf->pos);
+ (gulong)(mbuf->valid_len - mbuf->pos));
mbuf->pos = mbuf->valid_len;
return NULL;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]