From b213f91a0031da91eb6d3b86c7e724a0f7725d3e Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Wed, 13 Nov 2019 21:26:26 -0600 Subject: Pedantic constant annotations to shut up older toolchains. --- toys/net/sntp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toys/net') diff --git a/toys/net/sntp.c b/toys/net/sntp.c index 15e74440..ab6a6031 100644 --- a/toys/net/sntp.c +++ b/toys/net/sntp.c @@ -39,7 +39,7 @@ GLOBALS( ) // Seconds from 1900 to 1970, including appropriate leap days -#define SEVENTIES 2208988800L +#define SEVENTIES 2208988800UL // Get time and return ntptime (saving timespec in pointer if not null) // NTP time is high 32 bits = seconds since 1970 (blame RFC 868), low 32 bits -- cgit v1.2.3