aboutsummaryrefslogtreecommitdiffstats
path: root/tap-iostat.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2011-06-06 13:34:53 +0000
committerAnders Broman <anders.broman@ericsson.com>2011-06-06 13:34:53 +0000
commita5700f10c4eef1761a23547035201a8d75f17a58 (patch)
tree92ed4c3bec16bd050d18abf39c1370dd813b4909 /tap-iostat.c
parentc60120a7ba92fd160ae99b8f1cde74f61a2cc5e5 (diff)
Make the windows builds work again.
svn path=/trunk/; revision=37568
Diffstat (limited to 'tap-iostat.c')
-rw-r--r--tap-iostat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tap-iostat.c b/tap-iostat.c
index 7bbea9a120..a70c8e84d4 100644
--- a/tap-iostat.c
+++ b/tap-iostat.c
@@ -339,7 +339,7 @@ iostat_packet(void *arg, packet_info *pinfo, epan_dissect_t *edt, const void *du
new_time=fvalue_get(&((field_info *)gp->pdata[i])->value);
val=(guint64)(new_time->secs)*1000000 + new_time->nsecs/1000;
- tival = val % mit->parent->interval;
+ tival = (int)(val % mit->parent->interval);
it->counter += tival;
val -= tival;
pit = it->prev;