diff options
author | Rob Landley <rob@landley.net> | 2019-11-13 21:26:26 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2019-11-13 21:26:26 -0600 |
commit | b213f91a0031da91eb6d3b86c7e724a0f7725d3e (patch) | |
tree | a9abe0dd009bb44ca2e7ada461cf239c4373acb2 /toys/net | |
parent | 25c3e691140f48e971bdcc558cdf9acb7576598a (diff) | |
download | toybox-b213f91a0031da91eb6d3b86c7e724a0f7725d3e.tar.gz |
Pedantic constant annotations to shut up older toolchains.
Diffstat (limited to 'toys/net')
-rw-r--r-- | toys/net/sntp.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |