diff options
author | ulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7> | 2004-01-10 12:43:04 +0000 |
---|---|---|
committer | ulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7> | 2004-01-10 12:43:04 +0000 |
commit | 07d67ef7c0a24215a3d6d78e106a8f80cf9302c2 (patch) | |
tree | 68e60a1e9225bcd6f3f2dc944c53fc011a363e71 /gtk/tcp_graph.c | |
parent | ca10e51e8f59d0a7c90544396fed0d15a5b9b289 (diff) |
removed two MSVC warnings (GTK2 related)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9628 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'gtk/tcp_graph.c')
-rw-r--r-- | gtk/tcp_graph.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/tcp_graph.c b/gtk/tcp_graph.c index 666589d4b8..f83d3f70d7 100644 --- a/gtk/tcp_graph.c +++ b/gtk/tcp_graph.c @@ -3,7 +3,7 @@ * By Pavel Mores <pvl@uh.cz> * Win32 port: rwh@unifiedtech.com * - * $Id: tcp_graph.c,v 1.41 2004/01/05 18:11:28 ulfl Exp $ + * $Id: tcp_graph.c,v 1.42 2004/01/10 12:43:04 ulfl Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -1191,7 +1191,7 @@ static void callback_zoom_step (GtkWidget *spin, gpointer data) double old_this; direction = (int)OBJECT_GET_DATA(spin, "direction"); - value = gtk_spin_button_get_value_as_float (GTK_SPIN_BUTTON (spin)); + value = (float) gtk_spin_button_get_value_as_float (GTK_SPIN_BUTTON (spin)); if (direction) { zoom_this = &g->zoom.step_y; @@ -1392,7 +1392,7 @@ static void callback_mag_zoom (GtkWidget *spin, gpointer data) return; } direction = (int)OBJECT_GET_DATA(spin, "direction"); - value = gtk_spin_button_get_value_as_float (GTK_SPIN_BUTTON (spin)); + value = (float) gtk_spin_button_get_value_as_float (GTK_SPIN_BUTTON (spin)); if (direction) { zoom_this = &g->magnify.zoom.y; |