diff options
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 | ||