Deprecate the internal int/uint types in favor of the cstdint types they were based on

This commit is contained in:
Tim Wojtulewicz 2019-07-30 11:38:42 -07:00
parent 18e4976c6c
commit 54752ef9a1
218 changed files with 1331 additions and 1323 deletions

View file

@ -249,12 +249,12 @@ void net_packet_dispatch(double t, const Packet* pkt, iosource::PktSrc* src_ps)
if ( load_sample )
{
static uint32 load_freq = 0;
static uint32_t load_freq = 0;
if ( load_freq == 0 )
load_freq = uint32(0xffffffff) / uint32(load_sample_freq);
load_freq = uint32_t(0xffffffff) / uint32_t(load_sample_freq);
if ( uint32(bro_random() & 0xffffffff) < load_freq )
if ( uint32_t(bro_random() & 0xffffffff) < load_freq )
{
// Drain the queued timer events so they're not
// charged against this sample.