diff options
author | Michael Cahill <michael.cahill@wiredtiger.com> | 2011-07-16 00:07:21 +1000 |
---|---|---|
committer | Michael Cahill <michael.cahill@wiredtiger.com> | 2011-07-16 00:07:21 +1000 |
commit | 9ff2e00cc6c8e6c66004b1acb4cffe18fecc77f6 (patch) | |
tree | 8daada3ef54a4d7ec71500771ec56a543efe5cf2 /src/include/cell.i | |
parent | 67654ab5c327583f5b07418d20154cb5649e1eb4 (diff) | |
download | mongo-9ff2e00cc6c8e6c66004b1acb4cffe18fecc77f6.tar.gz |
../src/include/cell.i:294: warning: implicit conversion shortens 64-bit value into a 32-bit value
../src/include/cell.i:295: warning: implicit conversion shortens 64-bit value into a 32-bit value
../src/include/cell.i:319: warning: implicit conversion shortens 64-bit value into a 32-bit value
../src/include/cell.i:320: warning: implicit conversion shortens 64-bit value into a 32-bit value
Diffstat (limited to 'src/include/cell.i')
-rw-r--r-- | src/include/cell.i | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/cell.i b/src/include/cell.i index f97f4a85155..f9511ec478a 100644 --- a/src/include/cell.i +++ b/src/include/cell.i @@ -291,8 +291,8 @@ __wt_cell_unpack_safe(WT_SESSION_IMPL *session, return (WT_ERROR); unpack->data = p; - unpack->size = v; - unpack->len = WT_PTRDIFF32(p, cell) + v; + unpack->size = (uint32_t)v; + unpack->len = WT_PTRDIFF32(p, cell) + (uint32_t)v; break; case WT_CELL_KEY_SHORT: unpack->prefix = cell->__chunk[1]; @@ -316,8 +316,8 @@ __wt_cell_unpack_safe(WT_SESSION_IMPL *session, return (WT_ERROR); unpack->data = p; - unpack->size = v; - unpack->len = WT_PTRDIFF32(p, cell) + v; + unpack->size = (uint32_t)v; + unpack->len = WT_PTRDIFF32(p, cell) + (uint32_t)v; break; default: return (end == NULL ? __wt_file_format(session) : WT_ERROR); |