aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2016-10-26 20:33:10 -0400
committerMichael Mann <mmann78@netscape.net>2016-10-27 00:39:23 +0000
commit565f1b13d76bfad50469b0b9e03b2659a6f2453b (patch)
tree7b216846d9965e728ad0a7e7df82a03fe120cedb /ui/gtk
parent5c82f910a6f421b6ee2dac2fc4c6a51c9ed505b8 (diff)
Fix compile errors in GTK build
Change-Id: Ib28c63e0ead6950b3b11b7c87adc543f80c070ed Reviewed-on: https://code.wireshark.org/review/18498 Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'ui/gtk')
-rw-r--r--ui/gtk/sctp_graph_dlg.c2
-rw-r--r--ui/gtk/tcp_graph.c2
2 files changed, 2 insertions, 2 deletions
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;
}