1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-26 03:51:35 +01:00

Fix compilation warnings on Windows x64.

This commit is contained in:
Matias Fontanini
2015-05-17 17:30:54 -07:00
parent 5cd0c8e41b
commit c42cd0114f
47 changed files with 167 additions and 137 deletions

View File

@@ -83,7 +83,7 @@ void IPSecAH::icv(const byte_array &new_icv) {
}
uint32_t IPSecAH::header_size() const {
return sizeof(_header) + _icv.size();
return static_cast<uint32_t>(sizeof(_header) + _icv.size());
}
void IPSecAH::write_serialization(uint8_t *buffer, uint32_t total_sz, const PDU *) {