]> wimlib.net Git - wimlib/blobdiff - src/ntfs-capture.c
Fix format specifiers in some debugging statements
[wimlib] / src / ntfs-capture.c
index 69123f0672c03540976a4f5b399d5fe4d89cda5d..67efbc85b631708653ddf8ce88dcb3df5a370c96 100644 (file)
@@ -340,7 +340,7 @@ static int capture_ntfs_streams(struct wim_dentry *dentry, ntfs_inode *ni,
                                        lte->resource_entry.size = data_size;
                                }
                                ntfs_loc = NULL;
-                               DEBUG("Add resource for `%s' (size = %zu)",
+                               DEBUG("Add resource for `%s' (size = %"PRIu64")",
                                      dentry->file_name_utf8,
                                      lte->resource_entry.original_size);
                                copy_hash(lte->hash, attr_hash);
@@ -360,7 +360,7 @@ static int capture_ntfs_streams(struct wim_dentry *dentry, ntfs_inode *ni,
                } else {
                        /* Named data stream.  Put the reference to it in the
                         * alternate data stream entries */
-                       struct ads_entry *new_ads_entry;
+                       struct wim_ads_entry *new_ads_entry;
                        size_t stream_name_utf8_len;
 
                        ret = utf16_to_utf8((const char*)attr_record_name(actx->attr),