Skip to content
Snippets Groups Projects
Commit 8d35c675 authored by Luigi Scarso's avatar Luigi Scarso
Browse files

epoch is now unsigned int, so always >=0

parent d28fe9d9
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment