commit | 8f5cbdcfac11f83ac5912b033a1f41fcc99173f3 | [log] [tgz] |
---|---|---|
author | Davide Pesavento <davide.pesavento@lip6.fr> | Sun Sep 13 00:59:28 2015 +0200 |
committer | Alex Afanasyev <aa@cs.ucla.edu> | Sat Sep 19 14:03:16 2015 -0700 |
tree | aba05b4f69cb27519f0f76424ba0af1c4f5c070b | |
parent | f2a46228ef2be08a58ee3b49105146ad5e099ca1 [diff] |
Fix int vs. ssize_t type confusion Plus a typo in the target type of a static_cast. Change-Id: Icb8288baeab20d470c334742d989ffe231fdca7c
diff --git a/src/encoding/tlv.hpp b/src/encoding/tlv.hpp index 889d0b8..ad964e2 100644 --- a/src/encoding/tlv.hpp +++ b/src/encoding/tlv.hpp
@@ -294,7 +294,7 @@ return false; } - type = static_cast<uint64_t>(number); + type = static_cast<uint32_t>(number); return true; }