mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 00:58:19 +00:00
Deprecate bro_int_t and bro_uint_t
This commit is contained in:
parent
d066013793
commit
f624c18383
67 changed files with 331 additions and 320 deletions
|
@ -12,7 +12,7 @@ inline bool double_to_count_would_overflow(double v)
|
|||
return v < 0.0 || v > static_cast<double>(UINT64_MAX);
|
||||
}
|
||||
|
||||
inline bool int_to_count_would_overflow(bro_int_t v)
|
||||
inline bool int_to_count_would_overflow(zeek_int_t v)
|
||||
{
|
||||
return v < 0.0;
|
||||
}
|
||||
|
@ -22,7 +22,7 @@ inline bool double_to_int_would_overflow(double v)
|
|||
return v < static_cast<double>(INT64_MIN) || v > static_cast<double>(INT64_MAX);
|
||||
}
|
||||
|
||||
inline bool count_to_int_would_overflow(bro_uint_t v)
|
||||
inline bool count_to_int_would_overflow(zeek_uint_t v)
|
||||
{
|
||||
return v > INT64_MAX;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue