]> git.ozlabs.org Git - ccan/commit - ccan/tally/tally.c
tally: don't use SIZE_MAX.
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 6 Jul 2011 05:11:17 +0000 (14:41 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 6 Jul 2011 05:11:17 +0000 (14:41 +0930)
commitaf7a902d74a7926693f55da9e21a67dde46931d4
treefe8f0a0176213d6f8a576b27f7ce835a6b89aeec
parent532feb88f516f0848ae0e3eaf3a89a1fc94db6c4
tally: don't use SIZE_MAX.

Turns out it's not standard (thanks Samba build farm!)
And the previous test had a hole in it anyway.  This one is more conservative.
ccan/tally/tally.c