mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 23:58:20 +00:00
Deprecate the internal int/uint types in favor of the cstdint types they were based on
This commit is contained in:
parent
18e4976c6c
commit
54752ef9a1
218 changed files with 1331 additions and 1323 deletions
|
@ -1469,11 +1469,11 @@ DivideExpr::DivideExpr(Expr* arg_op1, Expr* arg_op2)
|
|||
|
||||
Val* DivideExpr::AddrFold(Val* v1, Val* v2) const
|
||||
{
|
||||
uint32 mask;
|
||||
uint32_t mask;
|
||||
if ( v2->Type()->Tag() == TYPE_COUNT )
|
||||
mask = static_cast<uint32>(v2->InternalUnsigned());
|
||||
mask = static_cast<uint32_t>(v2->InternalUnsigned());
|
||||
else
|
||||
mask = static_cast<uint32>(v2->InternalInt());
|
||||
mask = static_cast<uint32_t>(v2->InternalInt());
|
||||
|
||||
auto& a = v1->AsAddr();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue