Use type cast to get rid of implicit sign extension
authorJouni Malinen <jouni.malinen@atheros.com>
Wed, 13 Apr 2011 22:27:38 +0000 (01:27 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 13 Apr 2011 22:27:38 +0000 (01:27 +0300)
commit74727a7b32b7f24aef0372bebf3198ce5c2f123d
tree27b7a6f98af11e20f094234b0b041bdc2fd884e2
parentf8b5f7dc6b24c365d723144aceb3c856d9b61abb
Use type cast to get rid of implicit sign extension

The size_t value here can be 64-bit and result in implicit sign
extension. In this particular case, that gets masked out by
host_to_be32(), so there is no practical difference, but it is better
to get rid of the 64-bit variable explicitly.
src/eap_peer/eap_ttls.c