aboutsummaryrefslogtreecommitdiff
path: root/src/xmldocument.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2006-11-21 20:26:23 +0000
committerMike Buland <eichlan@xagasoft.com>2006-11-21 20:26:23 +0000
commit8fbf5fda24392d2a2ee19d6f40699a5de29da662 (patch)
treeac79c447bc4897d8cc350068504f184fdb8e4cfa /src/xmldocument.cpp
parent2bb05378f31311c353d43688fa753822ab9a6461 (diff)
downloadlibbu++-8fbf5fda24392d2a2ee19d6f40699a5de29da662.tar.gz
libbu++-8fbf5fda24392d2a2ee19d6f40699a5de29da662.tar.bz2
libbu++-8fbf5fda24392d2a2ee19d6f40699a5de29da662.tar.xz
libbu++-8fbf5fda24392d2a2ee19d6f40699a5de29da662.zip
Everything in libbu++ now passes -Wall, this should have been done a long time
ago.
Diffstat (limited to 'src/xmldocument.cpp')
-rw-r--r--src/xmldocument.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmldocument.cpp b/src/xmldocument.cpp
index 32f1409..d7867d5 100644
--- a/src/xmldocument.cpp
+++ b/src/xmldocument.cpp
@@ -114,7 +114,7 @@ void XmlDocument::addProperty( const char *sName, const short nValue )
114void XmlDocument::addProperty( const char *sName, const int nValue ) 114void XmlDocument::addProperty( const char *sName, const int nValue )
115{ 115{
116 char buf[12]; 116 char buf[12];
117 sprintf( buf, "%li", nValue ); 117 sprintf( buf, "%d", nValue );
118 addProperty( sName, buf ); 118 addProperty( sName, buf );
119} 119}
120 120