diff options
Diffstat (limited to 'lib/common/hardlink.c')
-rw-r--r-- | lib/common/hardlink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common/hardlink.c b/lib/common/hardlink.c index 63621a4..a3ba4f7 100644 --- a/lib/common/hardlink.c +++ b/lib/common/hardlink.c @@ -73,7 +73,7 @@ fail_insert: static int compare_inum(const void *lhs, const void *rhs) { - sqfs_u32 l = *((sqfs_u32 *)lhs), r = *((sqfs_u32 *)rhs); + sqfs_u32 l = *((const sqfs_u32 *)lhs), r = *((const sqfs_u32 *)rhs); return l < r ? -1 : (l > r ? 1 : 0); } |