X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Fmount_image.c;h=af39246128e2fdffa04fe256c49bb6f507abbd03;hp=7006c7e4478cb2cce196732b344402e8c567eea8;hb=cdf7299e77148206b8a4cb665ddd7a00a0e8ed91;hpb=67d55243710eb2b026e7a774eb41d5d873492b1f diff --git a/src/mount_image.c b/src/mount_image.c index 7006c7e4..af392461 100644 --- a/src/mount_image.c +++ b/src/mount_image.c @@ -758,7 +758,7 @@ static int update_lte_of_staging_file(struct wim_lookup_table_entry *lte, inode_update_lte_ptr(lte->lte_inode, lte, NULL); free_lookup_table_entry(lte); } else { - wimlib_assert(<e->file_on_disk == <e->staging_file_name); + BUILD_BUG_ON(<e->file_on_disk != <e->staging_file_name); lte->resource_entry.original_size = stbuf.st_size; lte->resource_entry.size = stbuf.st_size; lte->resource_location = RESOURCE_IN_FILE_ON_DISK;