[Bro-Dev] [Bro-Commits] [git/bro] fastpath: on 32-bit machines only unsigned long longs are 64-bits long. Not just unsigned longs... (26f5aee)
Robin Sommer
robin at icir.org
Tue Aug 28 13:26:11 PDT 2012
On Tue, Aug 28, 2012 at 00:50 -0700, Bernhard Amann wrote:
> on 32-bit machines only unsigned long longs are 64-bits long. Not just unsigned longs...
> - unsigned long uvalue = (value < 0) ? -value : value;
> + unsigned long long uvalue = (value < 0) ? -value : value;
Should this use uint64_t instead of ull?
Robin
--
Robin Sommer * Phone +1 (510) 722-6541 * robin at icir.org
ICSI/LBNL * Fax +1 (510) 666-2956 * www.icir.org
More information about the bro-dev
mailing list