From 2f35b4cf167c5623a35e21b172bb495982eef90d Mon Sep 17 00:00:00 2001 From: Rich Prohaska Date: Tue, 27 May 2008 12:26:08 +0000 Subject: [PATCH] port to i386 git-svn-id: file:///svn/tokudb@4161 c7de825b-a66e-492c-adef-691d508d4ae1 --- newbrt/brt-serialize.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/newbrt/brt-serialize.c b/newbrt/brt-serialize.c index 4b402c0161f..32a44a63801 100644 --- a/newbrt/brt-serialize.c +++ b/newbrt/brt-serialize.c @@ -640,7 +640,7 @@ int deserialize_brtheader_7_or_later(u_int32_t size, int fd, DISKOFF off, struct rc.ndone = 0; { ssize_t r = pread(fd, rc.buf, size-12, off+12); - if (r!=size-12) { ret = EINVAL; goto died1; } + if (r!=(ssize_t)size-12) { ret = EINVAL; goto died1; } } h->dirty=0; h->layout_version = rbuf_int(&rc);