aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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 }