summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2016-03-11 19:04:42 -0500
committerKeith Bostic <keith@wiredtiger.com>2016-03-11 19:04:42 -0500
commitc2e2203c8b289f0d4f2ec5708a0305e98ec42c62 (patch)
tree1075ffc93a8b8c1757a827896ca48ec2c47ac619 /examples
parent0ea08f6b8027bc8f33288453b5f6e1615ba25934 (diff)
downloadmongo-c2e2203c8b289f0d4f2ec5708a0305e98ec42c62.tar.gz
Revert "WT-2473: MSVC doesn't support PRId64"
This reverts commit 0b2766c1db03e96d5c7bfbb1eae66a9df790e301.
Diffstat (limited to 'examples')
-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 7e9bc6104e8..caa7ffa8fe0 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("%lld\n", (long long)v.val);
+ printf("%" PRId64 "\n", v.val);
else
printf("%.*s\n", (int)v.len, v.str);
}