[libgsf] win32: fix warning.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgsf] win32: fix warning.
- Date: Tue, 6 Apr 2010 01:46:29 +0000 (UTC)
commit 317c2598e536a777409c04e218120582edd27de1
Author: Morten Welinder <terra gnome org>
Date: Mon Apr 5 21:45:46 2010 -0400
win32: fix warning.
ChangeLog | 5 +++++
gsf/gsf-libxml.c | 2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 27005e9..5c7d471 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-04-05 Morten Welinder <terra gnome org>
+
+ * gsf/gsf-libxml.c (gsf_xml_out_add_cstr): Fix win32 warning about
+ format.
+
2010-02-13 Morten Welinder <terra gnome org>
* configure.in: Post-release-bump.
diff --git a/gsf/gsf-libxml.c b/gsf/gsf-libxml.c
index 68d6aac..2fbba11 100644
--- a/gsf/gsf-libxml.c
+++ b/gsf/gsf-libxml.c
@@ -1664,7 +1664,7 @@ gsf_xml_out_add_cstr (GsfXMLOut *xout, char const *id,
* allow certain characters to be encoded. XML 1.1
* does allow this, but libxml2 does not support it.
*/
- g_warning ("Unknown char 0x%hhx in string", *cur);
+ g_warning ("Unknown char 0x%02x in string", *cur);
if (cur != start)
gsf_output_write (xout->output, cur-start, start);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]