diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2005-08-08 17:22:55 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2005-08-08 17:22:55 +0000 |
commit | f3407856f4fd97caf90655205cdb2c66991e75ba (patch) | |
tree | 15e0a127916ea82384f549e80ab3c696d1bd599f /gtk/tcp_graph.c | |
parent | 979636e8f7401180a4f6acdf2b5b938ef0cdd58b (diff) |
fix some MSVC const warnings
svn path=/trunk/; revision=15263
Diffstat (limited to 'gtk/tcp_graph.c')
-rw-r--r-- | gtk/tcp_graph.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/tcp_graph.c b/gtk/tcp_graph.c index 5cb0ac1e6a..480af52c1d 100644 --- a/gtk/tcp_graph.c +++ b/gtk/tcp_graph.c @@ -1727,7 +1727,7 @@ static void graph_destroy (struct graph *g) gdk_pixmap_unref (g->pixmap[1]); g_free (g->x_axis); g_free (g->y_axis); - g_free (g->title); + g_free ( (gpointer) (g->title) ); graph_segment_list_free (g); graph_element_lists_free (g); #if 0 @@ -2210,7 +2210,7 @@ static void axis_destroy (struct axis *axis) { gdk_pixmap_unref (axis->pixmap[0]); gdk_pixmap_unref (axis->pixmap[1]); - g_free (axis->label); + g_free ( (gpointer) (axis->label) ); } static void axis_display (struct axis *axis) |