diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2004-01-10 12:43:04 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2004-01-10 12:43:04 +0000 |
commit | 4c047130c807f89bfdc4f27d0e0c46b52e7d77f8 (patch) | |
tree | 68e60a1e9225bcd6f3f2dc944c53fc011a363e71 /gtk | |
parent | 73d7a8e202944001dbe13bb5e5271a2ed2c7f85c (diff) |
removed two MSVC warnings (GTK2 related)
svn path=/trunk/; revision=9628
Diffstat (limited to 'gtk')
-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; |