mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 01:58:20 +00:00
Deprecate ptr_compat_uint and ptr_compat_int in util.h
This commit is contained in:
parent
289c03d386
commit
8862b585fa
6 changed files with 14 additions and 15 deletions
|
@ -1253,8 +1253,8 @@ uint64_t rand64bit()
|
|||
|
||||
int int_list_cmp(const void* v1, const void* v2)
|
||||
{
|
||||
ptr_compat_int i1 = *(ptr_compat_int*) v1;
|
||||
ptr_compat_int i2 = *(ptr_compat_int*) v2;
|
||||
std::intptr_t i1 = *(std::intptr_t*) v1;
|
||||
std::intptr_t i2 = *(std::intptr_t*) v2;
|
||||
|
||||
if ( i1 < i2 )
|
||||
return -1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue