From 5e59f116257c82aa0b7cda4d2445cbb3cb26552e Mon Sep 17 00:00:00 2001 From: Kelvin Lee Date: Sat, 10 Sep 2016 11:03:32 +1000 Subject: [PATCH] Fixed a compiler warning. --- source/Tfe/Tfearch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Tfe/Tfearch.cpp b/source/Tfe/Tfearch.cpp index daf47bc2..b1811d10 100644 --- a/source/Tfe/Tfearch.cpp +++ b/source/Tfe/Tfearch.cpp @@ -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(*plen), pbuffer }; #ifdef TFE_DEBUG_ARCH