]> wimlib.net Git - wimlib/blobdiff - src/delete_image.c
Fix copyright notices
[wimlib] / src / delete_image.c
index 7d5e92b7d1188b2ea8998c0cc7492165d8d5e868..3a33751455df3bb089b70af5e7e78aa54f05d9e0 100644 (file)
@@ -3,7 +3,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.
  *
@@ -68,7 +68,7 @@ WIMLIBAPI int wimlib_delete_image(WIMStruct *w, int image)
 
        /* Get rid of the empty slot in the image metadata array. */
        memmove(&w->image_metadata[image - 1], &w->image_metadata[image],
-               (w->hdr.image_count - image) * sizeof(struct image_metadata));
+               (w->hdr.image_count - image) * sizeof(struct wim_image_metadata));
 
        /* Decrement the image count. */
        if (--w->hdr.image_count == 0) {