summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/dir.c
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2010-02-23 16:14:03 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2010-02-23 16:14:03 +0000
commit8ee4ce87e030dd4e217f99e924233dbbf393e049 (patch)
treea4fc2a004c2e92bdbba8d57a192ef96c0a434ef1 /Build/source/texk/kpathsea/dir.c
parentb243861dbff7f1514485d8f4df1770c4aba31a4a (diff)
build system fixes, mostly for mingw32 cross and win32
git-svn-id: svn://tug.org/texlive/trunk@17166 c570f23f-e606-0410-a88d-b1316a301751
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) ?