summaryrefslogtreecommitdiff
path: root/libarchive/archive_match.c
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2013-09-16 14:28:46 +0200
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2013-09-16 14:34:09 +0200
commit6da3bf32fe10cbf4a193933b735ff8f2b67a1eda (patch)
tree9de16133a9691b4805fdd93125062118f69b9fc9 /libarchive/archive_match.c
parent2c1bfdf1b3cab891b6c8ed28dac593ac77813e93 (diff)
downloadlibarchive-6da3bf32fe10cbf4a193933b735ff8f2b67a1eda.tar.gz
Use correct variable types for ASCII Windows functions.
There are both an ASCII and an Unicode variant for most of the Win32 API. Fix some inconsistent uses.
Diffstat (limited to 'libarchive/archive_match.c')
-rw-r--r--libarchive/archive_match.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libarchive/archive_match.c b/libarchive/archive_match.c
index 6b6be9cb..6fb86445 100644
--- a/libarchive/archive_match.c
+++ b/libarchive/archive_match.c
@@ -1152,7 +1152,7 @@ set_timefilter_pathname_mbs(struct archive_match *a, int timetype,
{
/* NOTE: stat() on Windows cannot handle nano seconds. */
HANDLE h;
- WIN32_FIND_DATA d;
+ WIN32_FIND_DATAA d;
if (path == NULL || *path == '\0') {
archive_set_error(&(a->archive), EINVAL, "pathname is empty");