aboutsummaryrefslogtreecommitdiff
path: root/src/xmlwriter.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2007-03-14 19:18:21 +0000
committerMike Buland <eichlan@xagasoft.com>2007-03-14 19:18:21 +0000
commit82d16c9fb29f35b52868eda8725a86379a98b6fb (patch)
treec0450742903400b0faf94288f697429578c5c442 /src/xmlwriter.cpp
parentf7e9ed64eb3815c53ba06b392f1a0b1b8f09113a (diff)
downloadlibbu++-82d16c9fb29f35b52868eda8725a86379a98b6fb.tar.gz
libbu++-82d16c9fb29f35b52868eda8725a86379a98b6fb.tar.bz2
libbu++-82d16c9fb29f35b52868eda8725a86379a98b6fb.tar.xz
libbu++-82d16c9fb29f35b52868eda8725a86379a98b6fb.zip
Characters way up there were being escaped as negative numbers...seems whacky.
Diffstat (limited to '')
-rw-r--r--src/xmlwriter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmlwriter.cpp b/src/xmlwriter.cpp
index 0ea3709..0c9c7db 100644
--- a/src/xmlwriter.cpp
+++ b/src/xmlwriter.cpp
@@ -67,7 +67,7 @@ std::string XmlWriter::escape( std::string sIn )
67 { 67 {
68 sOut += "&#"; 68 sOut += "&#";
69 char buf[4]; 69 char buf[4];
70 sprintf( buf, "%d", *i ); 70 sprintf( buf, "%u", (unsigned int)*i );
71 sOut += buf; 71 sOut += buf;
72 sOut += ';'; 72 sOut += ';';
73 } 73 }