]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Cast arg_max to size_t when comparing it (times 4, plus 1) against SIZE_MAX. I
authorJuli Mallett <jmallett@FreeBSD.org>
Thu, 6 Jun 2002 20:29:39 +0000 (20:29 +0000)
committerJuli Mallett <jmallett@FreeBSD.org>
Thu, 6 Jun 2002 20:29:39 +0000 (20:29 +0000)
commit3d0d5dccc1789c53e2a800417e1a9c160e89d6c1
tree0ae812c2fc0bd427e8ba45de5b0352b4a177b0c4
parent033340171accba5dc74bdef5061ba2dea0df5a3e
Cast arg_max to size_t when comparing it (times 4, plus 1) against SIZE_MAX.  I
was worried about truncation of arg_max by this cast, but if it gets truncated,
we know it'll obviously be greater than SIZE_MAX anyway.

Big pointy hat to: jmallett
Submitted by: keramida
bin/ps/fmt.c