Source: fuse-umfuse-ext2 Version: 4-1.5 Severity: serious Tags: ftbfs


Hello,

So, when I try to build this package, I'm getting following error and its related to incompatibility of data types.

vnode_hash.c: In function 'vnode_hash_key':
vnode_hash.c:58:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   58 |         return ((int) e2fs + ino) & VNODE_HASH_MASK;
      |                 ^
vnode_hash.c: In function 'vnode_file_write':
vnode_hash.c:229:43: error: passing argument 2 of 'ext2fs_file_get_lsize' from incompatible pointer type [-Wincompatible-pointer-types]
  229 |         rt = ext2fs_file_get_lsize(efile, &fsize);
      |                                           ^~~~~~
      |                                           |
      |                                           long long unsigned int *
In file included from fuse-ext2.h:37,
                 from vnode_hash.c:21:
/usr/include/ext2fs/ext2fs.h:1476:58: note: expected '__u64 *' {aka 'long unsigned int *'} but argument is of type 'long long unsigned int *'
 1476 | errcode_t ext2fs_file_get_lsize(ext2_file_t file, __u64 *ret_size);
      | ~~~~~~~^~~~~~~~
vnode_hash.c:243:58: error: passing argument 4 of 'ext2fs_file_llseek' from incompatible pointer type [-Wincompatible-pointer-types]
  243 |         rt = ext2fs_file_llseek(efile, offset, SEEK_SET, &npos);
      | ^~~~~
      | |
      | long long unsigned int *
/usr/include/ext2fs/ext2fs.h:1473:55: note: expected '__u64 *' {aka 'long unsigned int *'} but argument is of type 'long long unsigned int *'
 1473 |                                    int whence, __u64 *ret_pos);
      | ~~~~~~~^~~~~~~

Thanks and regards,

Aditi

Reply via email to