From: Tim Kientzle Date: Fri, 25 Jun 2010 04:03:48 +0000 (-0400) Subject: cast DWORD to int to match %d printf specifier X-Git-Tag: v3.0.0a~938 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3aa2539e605756676bba2e8383edacbbf7bcc3f3;p=thirdparty%2Flibarchive.git cast DWORD to int to match %d printf specifier SVN-Revision: 2499 --- diff --git a/libarchive/archive_read_disk.c b/libarchive/archive_read_disk.c index 60c37feb7..47dcc5edc 100644 --- a/libarchive/archive_read_disk.c +++ b/libarchive/archive_read_disk.c @@ -1014,7 +1014,7 @@ setup_current_filesystem(struct archive_read_disk *a) if (!GetVolumePathName(tree_current_access_path(t), vol, sizeof(vol))) { t->current_filesystem->remote = -1; archive_set_error(&a->archive, ARCHIVE_ERRNO_MISC, - "GetVolumePathName failed: %d", GetLastError()); + "GetVolumePathName failed: %d", (int)GetLastError()); return (ARCHIVE_FAILED); } switch (GetDriveType(vol)) {