summaryrefslogtreecommitdiff
path: root/tests/testglib.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2004-04-22 20:58:37 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2004-04-22 20:58:37 +0000
commit48deca637904679e81a7a4e0fc7f9964835ae005 (patch)
tree75b2ff16ce5266e10c6c397f47ecde5675e8d51d /tests/testglib.c
parent2efb5e1cd8b8600eca30a0f188cb522cf24e74ad (diff)
Trivial warning fix.
2004-04-22 Matthias Clasen <mclasen@redhat.com> * tests/testglib.c (main): Trivial warning fix.
Diffstat (limited to 'tests/testglib.c')
-rw-r--r--tests/testglib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testglib.c b/tests/testglib.c
index 4c9cc4125..76bd04552 100644
--- a/tests/testglib.c
+++ b/tests/testglib.c
@@ -1245,7 +1245,7 @@ main (int argc,
g_print ("ok\n");
- if (g_get_charset (&charset))
+ if (g_get_charset ((G_CONST_RETURN char**)&charset))
g_print ("current charset is UTF-8: %s\n", charset);
else
g_print ("current charset is not UTF-8: %s\n", charset);