reiserfsprogs: fix -Wpointer-sign warnings for blocksize and position
This patch fixes the following warnings: pointer targets in passing argument 5 of ‘reiserfs_bin_search’ differ in signedness [-Wpointer-sign] pointer targets in passing argument 2 of ‘init_rollback_file’ differ in signedness [-Wpointer-sign] Signed-off-by: Jeff Mahoney <jeffm@suse.com>
This commit is contained in:
1 parent
c21c96f7c3
commit
b337b2b190
5 files changed
+14
-8
No files matched your search
@@ -464,7 +464,9 @@ static int reiserfs_search_by_key_x (reiserfs_filsys_t * fs, struct key * key,
|
||||
}
|
||||
retval = reiserfs_bin_search (key, B_N_PKEY (bh, 0), B_NR_ITEMS (bh),
|
||||
is_leaf_node (bh) ? IH_SIZE : KEY_SIZE,
|
||||
&(curr->pe_position), key_length == 4 ? comp_keys : comp_keys_3);
|
||||
&curr->pe_position,
|
||||
key_length == 4 ?
|
||||
comp_keys : comp_keys_3);
|
||||
if (retval == POSITION_FOUND) {
|
||||
/* key found, return if this is leaf level */
|
||||
if (is_leaf_node (bh)) {
|
||||
|
||||
Reference in new issue
Block a user