mirror of
https://github.com/mfontanini/libtins
synced 2026-01-27 12:14:26 +01:00
Fix compilation warnings on Windows x64.
This commit is contained in:
@@ -194,7 +194,7 @@ uint32_t RadioTap::find_extra_flag_fields_size(const uint8_t* buffer, uint32_t t
|
||||
++ptr;
|
||||
}
|
||||
|
||||
return (const uint8_t*)ptr - buffer;
|
||||
return static_cast<uint32_t>((const uint8_t*)ptr - buffer);
|
||||
}
|
||||
|
||||
// Setter for RadioTap fields
|
||||
|
||||
Reference in New Issue
Block a user