summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/test/thread/rw.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/wiredtiger/test/thread/rw.c')
-rw-r--r--src/third_party/wiredtiger/test/thread/rw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/third_party/wiredtiger/test/thread/rw.c b/src/third_party/wiredtiger/test/thread/rw.c
index f874695d584..cf38157f59f 100644
--- a/src/third_party/wiredtiger/test/thread/rw.c
+++ b/src/third_party/wiredtiger/test/thread/rw.c
@@ -65,7 +65,7 @@ rw_start(u_int readers, u_int writers)
if (i == 0 || multiple_files) {
run_info[i].name = dmalloc(64);
testutil_check(__wt_snprintf(
- run_info[i].name, 64, FNAME, i));
+ run_info[i].name, 64, FNAME, (int)i));
/* Vary by orders of magnitude */
if (vary_nops)
@@ -88,7 +88,7 @@ rw_start(u_int readers, u_int writers)
/* Have readers read from tables with writes. */
name_index = i % writers;
testutil_check(__wt_snprintf(
- run_info[offset].name, 64, FNAME, name_index));
+ run_info[offset].name, 64, FNAME, (int)name_index));
/* Vary by orders of magnitude */
if (vary_nops)