summaryrefslogtreecommitdiff
path: root/examples/c
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2016-03-11 18:10:23 -0500
committerKeith Bostic <keith@wiredtiger.com>2016-03-11 18:10:23 -0500
commit0b2766c1db03e96d5c7bfbb1eae66a9df790e301 (patch)
tree4f5f2c3d5ad96583001782abf56d01d21ccebd47 /examples/c
parent3c46e62a5fba1dda4c66d030a14a5d890165aed2 (diff)
downloadmongo-0b2766c1db03e96d5c7bfbb1eae66a9df790e301.tar.gz
WT-2473: MSVC doesn't support PRId64
Diffstat (limited to 'examples/c')
-rw-r--r--examples/c/ex_config_parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/c/ex_config_parse.c b/examples/c/ex_config_parse.c
index caa7ffa8fe0..7e9bc6104e8 100644
--- a/examples/c/ex_config_parse.c
+++ b/examples/c/ex_config_parse.c
@@ -99,7 +99,7 @@ main(void)
while ((ret = parser->next(parser, &k, &v)) == 0) {
printf("%.*s:", (int)k.len, k.str);
if (v.type == WT_CONFIG_ITEM_NUM)
- printf("%" PRId64 "\n", v.val);
+ printf("%lld\n", (long long)v.val);
else
printf("%.*s\n", (int)v.len, v.str);
}