]> wimlib.net Git - wimlib/blobdiff - src/integrity.c
Replace rename()
[wimlib] / src / integrity.c
index f427c3af329f2cc07600178d85e71fa46d066406..e977055d937be2d939fcc4864ad18a39a778e8ce 100644 (file)
@@ -7,7 +7,7 @@
  */
 
 /*
- * Copyright (C) 2012 Eric Biggers
+ * Copyright (C) 2012, 2013 Eric Biggers
  *
  * This file is part of wimlib, a library for working with WIM files.
  *
@@ -454,7 +454,7 @@ out_free_old_table:
  *     were no inconsistencies.
  *     -1 (WIM_INTEGRITY_NOT_OK) if the WIM failed the integrity check.
  */
-static int verify_integrity(FILE *fp, const char *filename,
+static int verify_integrity(FILE *fp, const mbchar *filename,
                            const struct integrity_table *table,
                            u64 bytes_to_check,
                            wimlib_progress_func_t progress_func)