[Xfce4-commits] <xfconf:master> fix compiler warnings
Brian J. Tarricone
brian at tarricone.org
Sun Aug 23 09:58:01 CEST 2009
Updating branch refs/heads/master
to 8f1c96c0fd9f4870d64ce88ebdac002b601f69b0 (commit)
from 99ec06c8a540d1711d1ba43ce64d5bcff72de3f2 (commit)
commit 8f1c96c0fd9f4870d64ce88ebdac002b601f69b0
Author: Brian J. Tarricone <brian at tarricone.org>
Date: Sun Aug 23 00:58:22 2009 -0700
fix compiler warnings
xfconf/xfconf-channel.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/xfconf/xfconf-channel.c b/xfconf/xfconf-channel.c
index 7618bd9..09f453e 100644
--- a/xfconf/xfconf-channel.c
+++ b/xfconf/xfconf-channel.c
@@ -2004,8 +2004,8 @@ xfconf_channel_get_structv(XfconfChannel *channel,
ALIGNOF_GINT16, g_value_get_int);
} else {
#ifdef XFCONF_ENABLE_CHECKS
- g_warning("Unable to handle value type %d (%s) when " \
- "setting a struct value", member_types[i],
+ g_warning("Unable to handle value type %ld (%s) when " \
+ "setting a struct value", (long)member_types[i],
g_type_name(member_types[i]));
#endif
goto out;
@@ -2223,8 +2223,8 @@ xfconf_channel_set_structv(XfconfChannel *channel,
ALIGNOF_GINT16, xfconf_g_value_set_int16);
} else {
#ifdef XFCONF_ENABLE_CHECKS
- g_warning("Unable to handle value type %d (%s) when " \
- "getting a struct value", member_types[i],
+ g_warning("Unable to handle value type %ld (%s) when " \
+ "getting a struct value", (long)member_types[i],
g_type_name(member_types[i]));
#endif
goto out;
More information about the Xfce4-commits
mailing list