diff options
author | Brian Behlendorf <[email protected]> | 2013-02-04 16:35:54 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2013-02-04 16:39:08 -0800 |
commit | dd26aa535b395735ca61ea2a3e618aded45eb05e (patch) | |
tree | a2379a3043dad2e97aa9c5c427ae3203a37ea243 /module/zfs | |
parent | a31770283a682384f477e864628d5a1a975c60ff (diff) |
Cast 'zfs bad bloc' to ULL for x86
Explicitly case this value to an unsigned long long for 32-bit
systems to inform the compiler that a long type should not be
used. Otherwise we get the following compiler error:
dmu_send.c:376: error: integer constant is too large for
‘long’ type
Signed-off-by: Brian Behlendorf <[email protected]>
Diffstat (limited to 'module/zfs')
-rw-r--r-- | module/zfs/dmu_send.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/dmu_send.c b/module/zfs/dmu_send.c index 0cf3c4a9a..921c3d76f 100644 --- a/module/zfs/dmu_send.c +++ b/module/zfs/dmu_send.c @@ -373,7 +373,7 @@ backup_cb(spa_t *spa, zilog_t *zilog, const blkptr_t *bp, arc_buf_t *pbuf, for (ptr = abuf->b_data; (char *)ptr < (char *)abuf->b_data + blksz; ptr++) - *ptr = 0x2f5baddb10c; + *ptr = 0x2f5baddb10cULL; } else { return (EIO); } |