]> git.saurik.com Git - apple/hfs.git/blobdiff - fsck_hfs/dfalib/fsck_journal.c
hfs-556.100.11.tar.gz
[apple/hfs.git] / fsck_hfs / dfalib / fsck_journal.c
index d14410671809b0aeae1ef8229c8b40547de07ec0..8c76d5f7104f9c45a4924ffd5fe05fa26aab8e0a 100644 (file)
@@ -387,7 +387,7 @@ journal_open(int jfd,
        uint32_t        jBlkSize = 0;
 
        if (ioctl(jfd, DKIOCGETBLOCKSIZE, &jBlkSize) == -1) {
-               jBlkSize = min_fs_blksize;
+               jBlkSize = (uint32_t)min_fs_blksize;
        } else {
                if (jBlkSize < min_fs_blksize) {
                        fplog(stderr, "%s:  journal block size %u < min block size %zu for %s\n", __FUNCTION__, jBlkSize, min_fs_blksize, jdev_name);