summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2012-07-26 07:38:23 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2012-07-26 07:38:23 +0000
commit4a1b45ccdee63de5ba242950f42f5ed5384c02c2 (patch)
tree6aa7fceee1cc97cfe2dc74e19a378fe46be15a2c /Build
parentd84171379c3fd670e89155dbb8860f0b38d964d8 (diff)
luaTeX: Avoid WIN32 build problem (from W32TeX)
git-svn-id: svn://tug.org/texlive/trunk@27167 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/web2c/luatexdir/ChangeLog4
-rw-r--r--Build/source/texk/web2c/luatexdir/lua/loslibext.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/luatexdir/ChangeLog b/Build/source/texk/web2c/luatexdir/ChangeLog
index 7b290e4886f..a5cdd2c5aa0 100644
--- a/Build/source/texk/web2c/luatexdir/ChangeLog
+++ b/Build/source/texk/web2c/luatexdir/ChangeLog
@@ -1,3 +1,7 @@
+2012-07-26 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * lua/loslibext.c os_gettimeofday): Use int64_t (from W32TeX).
+
2012-07-25 Peter Breitenlohner <peb@mppmu.mpg.de>
* image/pdftoepdf.cc (get_file_checksum): Use uint64_t and PRIu64.
diff --git a/Build/source/texk/web2c/luatexdir/lua/loslibext.c b/Build/source/texk/web2c/luatexdir/lua/loslibext.c
index 87c290e6a3f..29c7f3bb00f 100644
--- a/Build/source/texk/web2c/luatexdir/lua/loslibext.c
+++ b/Build/source/texk/web2c/luatexdir/lua/loslibext.c
@@ -880,7 +880,7 @@ static int os_gettimeofday(lua_State * L)
v = (double) tv.tv_sec + (double) tv.tv_usec / 1000000.0;
# else
FILETIME ft;
- uint64_t tmpres = 0;
+ int64_t tmpres = 0;
GetSystemTimeAsFileTime(&ft);