summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Gorrod <alexander.gorrod@mongodb.com>2016-12-20 11:06:59 +1100
committerGitHub <noreply@github.com>2016-12-20 11:06:59 +1100
commit6da10a59c9b30f2bc3a6a0b3587d161db3326ad8 (patch)
tree131c659a69ba26fdfe67fe5733212990358c4da9
parent9a3d212c6f94bf8fbf6be39ed63e35a7d0424104 (diff)
downloadmongo-6da10a59c9b30f2bc3a6a0b3587d161db3326ad8.tar.gz
WT-2833 Fix a compiler warning (#3208)
-rw-r--r--src/utilities/util_dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utilities/util_dump.c b/src/utilities/util_dump.c
index 651cc7acf9c..95cd39322c4 100644
--- a/src/utilities/util_dump.c
+++ b/src/utilities/util_dump.c
@@ -268,7 +268,7 @@ dump_add_config(WT_SESSION *session, char **bufp, size_t *leftp,
if (n < 0)
return (util_err(session, EINVAL, NULL));
*bufp += n;
- *leftp -= n;
+ *leftp -= (size_t)n;
return (0);
}