summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian J. Tarricone <brian@tarricone.org>2009-08-23 00:58:22 -0700
committerBrian J. Tarricone <brian@tarricone.org>2009-08-23 00:58:22 -0700
commit8f1c96c0fd9f4870d64ce88ebdac002b601f69b0 (patch)
tree2adc7153628010022dd82d28cc648338ef81ad50
parent99ec06c8a540d1711d1ba43ce64d5bcff72de3f2 (diff)
downloadxfconf-8f1c96c0fd9f4870d64ce88ebdac002b601f69b0.tar.gz
fix compiler warnings
-rw-r--r--xfconf/xfconf-channel.c8
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;