aboutsummaryrefslogtreecommitdiffstats
path: root/ui/cli/tap-icmpstat.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui/cli/tap-icmpstat.c')
-rw-r--r--ui/cli/tap-icmpstat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/cli/tap-icmpstat.c b/ui/cli/tap-icmpstat.c
index 213e149ae8..a9cfcb35e7 100644
--- a/ui/cli/tap-icmpstat.c
+++ b/ui/cli/tap-icmpstat.c
@@ -82,8 +82,8 @@ static gint compare_doubles(gconstpointer a, gconstpointer b)
{
double ad, bd;
- ad = *(double *)a;
- bd = *(double *)b;
+ ad = *(const double *)a;
+ bd = *(const double *)b;
if (ad < bd)
return -1;