summaryrefslogtreecommitdiff
path: root/src/support/hex.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/support/hex.c')
-rw-r--r--src/support/hex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/support/hex.c b/src/support/hex.c
index d42a84154ca..5c48ce8b74a 100644
--- a/src/support/hex.c
+++ b/src/support/hex.c
@@ -84,7 +84,7 @@ __wt_raw_to_esc_hex(
WT_RET(__wt_buf_init(session, to, size * 3 + 1));
for (p = from, t = to->mem, i = size; i > 0; --i, ++p)
- if (isprint((int)*p)) {
+ if (__wt_isprint((u_char)*p)) {
if (*p == '\\')
*t++ = '\\';
*t++ = *p;