diff --git a/ui/gtk/sctp_graph_dlg.c b/ui/gtk/sctp_graph_dlg.c index 9a6399e8e7..3674a1ff1b 100644 --- a/ui/gtk/sctp_graph_dlg.c +++ b/ui/gtk/sctp_graph_dlg.c @@ -1862,7 +1862,7 @@ static int rint (double x) { char *buf; - int i = 0 + int i = 0; int dec,sig; buf = _fcvt(x, 0, &dec, &sig); diff --git a/ui/gtk/tcp_graph.c b/ui/gtk/tcp_graph.c index 3e181d2f2b..5c57cd2d41 100644 --- a/ui/gtk/tcp_graph.c +++ b/ui/gtk/tcp_graph.c @@ -4500,7 +4500,7 @@ static int rint(double x) int dec, sig; buf = _fcvt(x, 0, &dec, &sig); - ws_strtoi32(buf, NULL. &i); + ws_strtoi32(buf, NULL, &i); if (sig == 1) { i = i * -1; }