[Bro] Problems compiling with --enable-int64
Vern Paxson
vern at icir.org
Tue Apr 15 15:11:48 PDT 2008
> Val.cc: In member function 'virtual Val* Val::SizeVal() const':
> Val.cc:567: error: call of overloaded 'abs(const bro_int_t&)' is ambiguous
I'm guessing that the line you're looking at is
return new Val(abs(val.int_val), TYPE_COUNT);
(it's at a different location in the latest snapshot). If so, try
return new Val(bro_int_t(abs(val.int_val)), TYPE_COUNT);
and see if that fixes the problem.
Vern
More information about the Bro
mailing list