len can't ever be negative, so mark it as an u32 instead of int.
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
                        }
 
                        sums->bytenr = start;
-                       sums->len = (int)size;
+                       sums->len = size;
 
                        offset = bytes_to_csum_size(fs_info, start - key.offset);
 
 
        /*
         * this is the length in bytes covered by the sums array below.
         */
-       int len;
+       u32 len;
        struct list_head list;
        /* last field is a variable length array of csums */
        u8 sums[];