Fixed a compiler warning.

This commit is contained in:
Kelvin Lee 2016-09-10 11:03:32 +10:00 committed by tomcw
parent bb25fb702e
commit 5e59f11625

View File

@ -520,7 +520,7 @@ int tfe_arch_receive(BYTE *pbuffer , /* where to store a frame */
{
int len;
TFE_PCAP_INTERNAL internal = { *plen, pbuffer };
TFE_PCAP_INTERNAL internal = { static_cast<unsigned int>(*plen), pbuffer };
#ifdef TFE_DEBUG_ARCH