diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2014-07-13 13:40:27 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2014-07-13 13:40:27 +0000 |
commit | 0453db105ed84bf57356a8f81ba35a47c4996371 (patch) | |
tree | f36d03398b1a41387a4970c9ef26b114a18895b2 /Build/source/texk/kpathsea/hash.c | |
parent | 6a1902e0bcd1e17c89ff56a758a974fdbd0eea7d (diff) |
texk/kpathsea [WIN64]: Avoid cast from pointer to integer of different size
git-svn-id: svn://tug.org/texlive/trunk@34591 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/kpathsea/hash.c')
-rw-r--r-- | Build/source/texk/kpathsea/hash.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Build/source/texk/kpathsea/hash.c b/Build/source/texk/kpathsea/hash.c index f1d81dbd3a6..22c2b0806ff 100644 --- a/Build/source/texk/kpathsea/hash.c +++ b/Build/source/texk/kpathsea/hash.c @@ -191,7 +191,11 @@ hash_lookup (hash_table_type table, const_string key) { putc (' ', stderr); if (kpse->debug_hash_lookup_int) +#if defined(_WIN64) + fprintf (stderr, "%I64d", (__int64) *r); +#else fprintf (stderr, "%ld", (long) *r); +#endif else fputs (*r, stderr); } |