aboutsummaryrefslogtreecommitdiff
path: root/toys/example
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2020-01-10 14:12:18 -0800
committerRob Landley <rob@landley.net>2020-01-10 20:11:18 -0600
commit24f1f9d145562db4853f1a40ce22ce20274fa730 (patch)
tree04b9010e59854dfe154c967c6651802da4129118 /toys/example
parentd3493991bf5b65c376f40129cfacd566eefe4e2e (diff)
downloadtoybox-24f1f9d145562db4853f1a40ce22ce20274fa730.tar.gz
sntp.c: fix 32-bit.
The epoch was being defined as UL, which is fine for LP64, but too small on LP32 for what we're trying to do. toys/net/sntp.c:60:32: warning: left shift count >= width of type return ((tv.tv_sec+SEVENTIES)<<32)+(((long long)tv.tv_nsec)<<32)/1000000000; ^~ (Android doesn't use this, I'm just fixing this too while I fix the LP64isms I introduced in readelf...)
Diffstat (limited to 'toys/example')
0 files changed, 0 insertions, 0 deletions