summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2014-10-02 19:58:07 -0400
committerKeith Bostic <keith@wiredtiger.com>2014-10-02 19:58:07 -0400
commitf2c75a3060b572d0fc42c8aaddf915ba38f38bd9 (patch)
tree6371bf53a1591ff46c8e153e8a074356a8f870e3 /test
parent50b1e57a98b068a7c1147d44647dd504f719fe2d (diff)
downloadmongo-f2c75a3060b572d0fc42c8aaddf915ba38f38bd9.tar.gz
Minor cleanups: complain if we see off_t from now, hardwire tests for the
size of size_t and off_t before we compile.
Diffstat (limited to 'test')
-rw-r--r--test/format/salvage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/format/salvage.c b/test/format/salvage.c
index d371a93de03..9fccf880a68 100644
--- a/test/format/salvage.c
+++ b/test/format/salvage.c
@@ -58,8 +58,8 @@ corrupt(void)
{
FILE *fp;
struct stat sb;
- off_t offset;
size_t len, nw;
+ wt_off_t offset;
int fd, ret;
char buf[8 * 1024], copycmd[2 * 1024];