aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/netxray.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2012-04-18 08:15:32 +0000
committerAnders Broman <anders.broman@ericsson.com>2012-04-18 08:15:32 +0000
commitbe31ffaeb0715ad7e786f145b6d15a9e2d5bdba7 (patch)
treeb9376ca23d0747428e6618ed192daddb47fc72c0 /wiretap/netxray.c
parent323dd70e2b90ca4f5fee9c3492c72269ce343f1a (diff)
Get the Windows build going again. The Netxray "fix" cast to guint8 may not be OK.
svn path=/trunk/; revision=42125
Diffstat (limited to 'wiretap/netxray.c')
-rw-r--r--wiretap/netxray.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wiretap/netxray.c b/wiretap/netxray.c
index 231c877b7f..13178ba825 100644
--- a/wiretap/netxray.c
+++ b/wiretap/netxray.c
@@ -1739,7 +1739,7 @@ static gboolean netxray_dump_2_0(wtap_dumper *wdh,
case WTAP_ENCAP_IEEE_802_11_WITH_RADIO:
rec_hdr.xxx[12] = pseudo_header->ieee_802_11.channel;
- rec_hdr.xxx[13] = pseudo_header->ieee_802_11.data_rate;
+ rec_hdr.xxx[13] = (guint8)pseudo_header->ieee_802_11.data_rate;
rec_hdr.xxx[14] = pseudo_header->ieee_802_11.signal_level;
break;