Fix compile error in gdbusmessage.c for win64
authorHib Eris <hib@hiberis.nl>
Sun, 31 Mar 2013 14:40:34 +0000 (16:40 +0200)
committerHib Eris <hib@hiberis.nl>
Mon, 1 Apr 2013 06:28:29 +0000 (08:28 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=696973

gio/gdbusmessage.c

index cc94375..5464cef 100644 (file)
@@ -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;
     }