mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 16:18:19 +00:00
fixed / removed out-of-date comments, tidied check_and_promote_args() interface
This commit is contained in:
parent
efd03d41f8
commit
a16a25efbd
4 changed files with 15 additions and 21 deletions
|
@ -231,8 +231,6 @@ ValPtr Val::SizeVal() const
|
|||
{
|
||||
switch ( type->InternalType() ) {
|
||||
case TYPE_INTERNAL_INT:
|
||||
// Return abs value. However abs() only works on ints and llabs
|
||||
// doesn't work on Mac OS X 10.5. So we do it by hand
|
||||
if ( AsInt() < 0 )
|
||||
return val_mgr->Count(-AsInt());
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue