]> wimlib.net Git - wimlib/blobdiff - src/mount.c
Various changes/fixes
[wimlib] / src / mount.c
index b0d256e2796eff72ea8e02f0ee056fef144ef07a..0122d8484a38d1ebe8e7aecabcf5ee57c0c52873 100644 (file)
@@ -2018,8 +2018,8 @@ WIMLIBAPI int wimlib_mount_image(WIMStruct *wim, int image, const char *dir,
 
        /* Mark dentry tree as modified if read-write mount. */
        if (mount_flags & WIMLIB_MOUNT_FLAG_READWRITE) {
-               imd->modified = true;
-               imd->has_been_mounted_rw = true;
+               imd->modified = 1;
+               imd->has_been_mounted_rw = 1;
        }
 
        /* Resolve all the lookup table entries of the dentry tree */