From 8d35c675a4d41057fe9535e430f825a7d873a60e Mon Sep 17 00:00:00 2001
From: Luigi Scarso <luigi.scarso@gmail.com>
Date: Mon, 13 Feb 2017 13:29:50 +0000
Subject: [PATCH] epoch is now unsigned int, so always >=0

---
 source/texk/web2c/luatexdir/luatex.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/source/texk/web2c/luatexdir/luatex.c b/source/texk/web2c/luatexdir/luatex.c
index 7e62b59b5..7933d17d6 100644
--- a/source/texk/web2c/luatexdir/luatex.c
+++ b/source/texk/web2c/luatexdir/luatex.c
@@ -198,7 +198,7 @@ void init_start_time(void) {
         if (source_date_epoch && source_date_epoch != '\0' ) {
             errno = 0;
             epoch = strtoull(source_date_epoch, &endptr, 10);
-            if (epoch < 0 || *endptr != '\0' || errno != 0) {
+            if (*endptr != '\0' || errno != 0) {
                 epoch = 0;
             }
 #if defined(_MSC_VER)
-- 
GitLab