From: Matt Caswell Date: Thu, 22 Jan 2015 11:04:47 +0000 (+0000) Subject: Fix post-reformat errors preventing windows compilation X-Git-Tag: OpenSSL_1_1_0-pre1~1779 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d2a0d72f33e2cd81a5c81b29b05d6fdb2cc67ac2;p=openssl Fix post-reformat errors preventing windows compilation Reviewed-by: Tim Hudson --- diff --git a/crypto/bio/bss_dgram.c b/crypto/bio/bss_dgram.c index 78c437bcb5..885b969e05 100644 --- a/crypto/bio/bss_dgram.c +++ b/crypto/bio/bss_dgram.c @@ -2055,7 +2055,7 @@ static void get_current_time(struct timeval *t) # ifdef __MINGW32__ now.ul -= 116444736000000000ULL; # else - now.ul -= 116444736000000000U I64; /* re-bias to 1/1/1970 */ + now.ul -= 116444736000000000UI64; /* re-bias to 1/1/1970 */ # endif t->tv_sec = (long)(now.ul / 10000000); t->tv_usec = ((int)(now.ul % 10000000)) / 10; diff --git a/ssl/d1_lib.c b/ssl/d1_lib.c index e75d049dbb..4ca6bb31a9 100644 --- a/ssl/d1_lib.c +++ b/ssl/d1_lib.c @@ -528,7 +528,7 @@ static void get_current_time(struct timeval *t) # ifdef __MINGW32__ now.ul -= 116444736000000000ULL; # else - now.ul -= 116444736000000000U I64; /* re-bias to 1/1/1970 */ + now.ul -= 116444736000000000UI64; /* re-bias to 1/1/1970 */ # endif t->tv_sec = (long)(now.ul / 10000000); t->tv_usec = ((int)(now.ul % 10000000)) / 10;