summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/kpathsea/dir.c')
-rw-r--r--Build/source/texk/kpathsea/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/kpathsea/dir.c b/Build/source/texk/kpathsea/dir.c
index 295e4dcb75c..1062f28f63f 100644
--- a/Build/source/texk/kpathsea/dir.c
+++ b/Build/source/texk/kpathsea/dir.c
@@ -43,7 +43,7 @@ kpathsea_dir_p (kpathsea kpse, const_string fn)
if (KPATHSEA_DEBUG_P (KPSE_DEBUG_STAT)) {
if (fa == 0xFFFFFFFF) {
fprintf(stderr, "failed to get file attributes for %s (%d)\n",
- fn, GetLastError());
+ fn, (int)(GetLastError()));
} else {
fprintf(stderr, "path %s %s a directory\n",
fn , (fa & FILE_ATTRIBUTE_DIRECTORY) ?