altos: ao_distance was overflowing when checking for longitude wrap
authorKeith Packard <keithp@keithp.com>
Fri, 6 Jun 2014 01:31:06 +0000 (18:31 -0700)
committerKeith Packard <keithp@keithp.com>
Fri, 6 Jun 2014 01:31:06 +0000 (18:31 -0700)
commitd7df6e8c47df35c0d27f1a2559ecc305ef28d271
treef1fda972e2337087ebedddab27550d27d852758c
parent2db2b75f8847ca0066bb19771653a65c9098ae52
altos: ao_distance was overflowing when checking for longitude wrap

Need to shift everyone right one bit to fit in 32 bits

Signed-off-by: Keith Packard <keithp@keithp.com>
src/kernel/ao_distance.c