IEEE80211: squelsh a MSVC warning

This commit is contained in:
Pascal Quantin 2021-03-21 17:05:56 +01:00
parent 1abe8cc3ce
commit 66f35c7130
1 changed files with 2 additions and 2 deletions

View File

@ -22671,8 +22671,8 @@ add_min_max_time_between_measurements(proto_item *item, tvbuff_t *tvb, packet_in
min *= 100; /* min time is in units of 100 microseconds */
max *= 10 * 1000; /* max time is in units of 10 milliseconds */
float minf = min / 1E6;
float maxf = max / 1E6;
float minf = (float)(min / 1E6);
float maxf = (float)(max / 1E6);
proto_item_append_text(item, " (Min=%.6gs, Max=%.6gs)", minf, maxf);
col_append_fstr(pinfo->cinfo, COL_INFO, ", Min=%.6gs, Max=%.6gs", minf, maxf);