Fix look(1) on x86_64.
authorSascha Wildner <saw@online.de>
Thu, 8 Apr 2010 13:09:21 +0000 (15:09 +0200)
committerSascha Wildner <saw@online.de>
Thu, 8 Apr 2010 13:11:04 +0000 (15:11 +0200)
commite8d5595cc6cbfe011eb90821390bc37091dedf47
tree12c9b8c0075fd5d874e71754f905df8013201d3d
parent2b9eb799220e761af20981ae7e830ee1b2d3bc6e
Fix look(1) on x86_64.

SIZE_T_MAX, being ULONG_MAX, was -1 when cast to off_t (int64_t).

Reported-by: Urmas Reinsalu <urki@klaasikoda.ee>
usr.bin/look/look.c