aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/erf.c
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2003-12-11 21:23:37 +0000
committerUlf Lamping <ulf.lamping@web.de>2003-12-11 21:23:37 +0000
commit10e3320115a0fd419829016e29a62ca806081878 (patch)
treefb84266ca65361a8ca29f29daffb1e7fd1217b12 /wiretap/erf.c
parent95ea01a41ad9ca8a1b3514c1bef8a69141721bf0 (diff)
prevent MSVC warning:
"warning C4761: Gr��enkonflikt im Argument. Konvertierung vorgenommen" -> size conflict in argument, conversion done svn path=/trunk/; revision=9244
Diffstat (limited to 'wiretap/erf.c')
-rw-r--r--wiretap/erf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/wiretap/erf.c b/wiretap/erf.c
index 6c650b9b16..491046f88e 100644
--- a/wiretap/erf.c
+++ b/wiretap/erf.c
@@ -32,7 +32,7 @@
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
-* $Id: erf.c,v 1.4 2003/10/01 07:11:46 guy Exp $
+* $Id: erf.c,v 1.5 2003/12/11 21:23:37 ulfl Exp $
*/
/*
@@ -203,7 +203,7 @@ int erf_open(wtap *wth, int *err)
wth->file_encap =
(common_type < 0
? WTAP_ENCAP_PER_PACKET
- : erf_encap_to_wtap_encap(wth->capture.erf, common_type));
+ : erf_encap_to_wtap_encap(wth->capture.erf, (guint8) common_type));
wth->subtype_read = erf_read;
wth->subtype_seek_read = erf_seek_read;