summaryrefslogtreecommitdiff
path: root/src/log
diff options
context:
space:
mode:
authorDon Anderson <dda@mongodb.com>2016-06-03 15:52:46 -0400
committerKeith Bostic <keith.bostic@mongodb.com>2016-06-03 15:52:46 -0400
commit7d5c484b3c422ba26f57f5c93a2cff275fad963d (patch)
treebedc34e3f84f150bd19b72cf1fa706d37600d50f /src/log
parente6b58318951409ef05599e1fd4dcac32af4ee071 (diff)
downloadmongo-7d5c484b3c422ba26f57f5c93a2cff275fad963d.tar.gz
WT-2677 Fix JSON output so only printable ASCII is produced. (#2771)
* WT-2677 Fix JSON output so only printable ASCII is produced. The root cause is a sign extension error that shows up on systems that have a signed 'char'. * WT-2677 Fix compile warnings for sign conversions * Include changes to auto-generated files.
Diffstat (limited to 'src/log')
-rw-r--r--src/log/log_auto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/log/log_auto.c b/src/log/log_auto.c
index d4dab4e1a33..34bccd0ede4 100644
--- a/src/log/log_auto.c
+++ b/src/log/log_auto.c
@@ -44,7 +44,7 @@ __wt_logop_read(WT_SESSION_IMPL *session,
}
static size_t
-__logrec_json_unpack_str(char *dest, size_t destlen, const char *src,
+__logrec_json_unpack_str(char *dest, size_t destlen, const u_char *src,
size_t srclen)
{
size_t total;