mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +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
|
@ -111,7 +111,7 @@ void ODesc::Add(int i)
|
|||
}
|
||||
}
|
||||
|
||||
void ODesc::Add(uint32 u)
|
||||
void ODesc::Add(uint32_t u)
|
||||
{
|
||||
if ( IsBinary() )
|
||||
AddBytes(&u, sizeof(u));
|
||||
|
@ -123,7 +123,7 @@ void ODesc::Add(uint32 u)
|
|||
}
|
||||
}
|
||||
|
||||
void ODesc::Add(int64 i)
|
||||
void ODesc::Add(int64_t i)
|
||||
{
|
||||
if ( IsBinary() )
|
||||
AddBytes(&i, sizeof(i));
|
||||
|
@ -135,7 +135,7 @@ void ODesc::Add(int64 i)
|
|||
}
|
||||
}
|
||||
|
||||
void ODesc::Add(uint64 u)
|
||||
void ODesc::Add(uint64_t u)
|
||||
{
|
||||
if ( IsBinary() )
|
||||
AddBytes(&u, sizeof(u));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue