Print the right value for signed statistics tap table items.

Thanks and a tip of the Hatlo hat to Visual Studio Code Analysis for
finding this one.

Change-Id: If2312ba98d1c3060e525dd8b2afe3e0ff07fb5bd
Reviewed-on: https://code.wireshark.org/review/26194
Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
Guy Harris 2018-02-28 13:55:02 -08:00
parent 9226ea8dee
commit 7df07eb922
1 changed files with 1 additions and 1 deletions

View File

@ -1771,7 +1771,7 @@ sharkd_session_process_tap_nstat_cb(void *arg)
break;
case TABLE_ITEM_INT:
printf("%d", field_data->value.uint_value);
printf("%d", field_data->value.int_value);
break;
case TABLE_ITEM_STRING: