diff options
author | Mike Buland <eichlan@xagasoft.com> | 2006-11-21 20:26:23 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2006-11-21 20:26:23 +0000 |
commit | 8fbf5fda24392d2a2ee19d6f40699a5de29da662 (patch) | |
tree | ac79c447bc4897d8cc350068504f184fdb8e4cfa /src/xmldocument.cpp | |
parent | 2bb05378f31311c353d43688fa753822ab9a6461 (diff) | |
download | libbu++-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.cpp | 2 |
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 ) | |||
114 | void XmlDocument::addProperty( const char *sName, const int nValue ) | 114 | void 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 | ||