From 476cba0d2af65b57b297044f26139b493796494a Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 27 Aug 2012 22:51:03 -0400 Subject: Fix warnings --- pango/pango-utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pango/pango-utils.c') diff --git a/pango/pango-utils.c b/pango/pango-utils.c index 8d1255d3..88956057 100644 --- a/pango/pango-utils.c +++ b/pango/pango-utils.c @@ -721,7 +721,7 @@ pango_get_sysconf_subdirectory (void) if (g_once_init_enter ((gsize*)&result)) { - gchar *tmp_result = NULL; + const char *tmp_result = NULL; #ifdef G_OS_WIN32 gchar *root = g_win32_get_package_installation_directory_of_module (pango_dll); tmp_result = g_build_filename (root, "etc\\pango", NULL); @@ -756,7 +756,7 @@ pango_get_lib_subdirectory (void) if (g_once_init_enter ((gsize*)&result)) { - gchar *tmp_result = NULL; + const gchar *tmp_result = NULL; #ifdef G_OS_WIN32 gchar *root = g_win32_get_package_installation_directory_of_module (pango_dll); /* If we are running against an uninstalled copy of the Pango DLL, -- cgit v1.2.1