diff options
Diffstat (limited to 'src/ntfs_utl.c')
-rw-r--r-- | src/ntfs_utl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ntfs_utl.c b/src/ntfs_utl.c index c4e3582b..a82dfb81 100644 --- a/src/ntfs_utl.c +++ b/src/ntfs_utl.c @@ -159,7 +159,7 @@ int utils_cluster_in_use(ntfs_volume *vol, long long lcn) } /* Does lcn lie in the section of $Bitmap we already have cached? */ - if ((bmplcn <0 ) || (lcn < bmplcn) || (lcn >= (bmplcn + (sizeof(buffer) << 3)))) { + if ((bmplcn <0 ) ||(lcn < (unsigned)bmplcn) || (lcn >= ((unsigned)bmplcn + ((unsigned)sizeof(buffer) << 3)))) { ntfs_attr *attr; #ifdef DEBUG_NTFS log_debug("Bit lies outside cache.\n"); |