ossp-pkg/xds/xml-encode-uint64.c 1.1 -> 1.2
--- xml-encode-uint64.c 2001/07/23 16:17:43 1.1
+++ xml-encode-uint64.c 2001/07/23 16:40:38 1.2
@@ -46,7 +46,7 @@
/* Format value into buffer. */
value = va_arg(*args, xds_uint64_t);
- rc = snprintf(buffer, buffer_size, "<uint64>%Lu</uint64>", value);
+ rc = snprintf(buffer, buffer_size, "<uint64>%llu</uint64>", value);
if (rc < 0)
return buffer_size*2;
assert(rc >= 15);
|
|