summaryrefslogtreecommitdiff
path: root/pango
diff options
context:
space:
mode:
Diffstat (limited to 'pango')
-rw-r--r--pango/pango-utils.c4
-rw-r--r--pango/querymodules.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/pango/pango-utils.c b/pango/pango-utils.c
index 290e9fef..3f7211f1 100644
--- a/pango/pango-utils.c
+++ b/pango/pango-utils.c
@@ -459,7 +459,7 @@ read_config_file (const char *filename, gboolean enoent_error)
GError *key_file_error = NULL;
gchar **groups;
gsize groups_count = 0;
- gint group_index;
+ guint group_index;
if (!g_key_file_load_from_file(key_file,filename, 0, &key_file_error))
{
@@ -488,7 +488,7 @@ read_config_file (const char *filename, gboolean enoent_error)
if (keys)
{
- gint key_index;
+ guint key_index;
for (key_index = 0; key_index < keys_count; key_index++)
{
diff --git a/pango/querymodules.c b/pango/querymodules.c
index 63939006..b30d4d59 100644
--- a/pango/querymodules.c
+++ b/pango/querymodules.c
@@ -37,12 +37,12 @@
#endif
#include <glib/gprintf.h>
-#if USE_LA_MODULES
+#ifdef USE_LA_MODULES
#define SOEXT ".la"
#else
#define SOEXT ("." G_MODULE_SUFFIX)
#endif
-#define SOEXT_LEN (strlen (SOEXT))
+#define SOEXT_LEN ((int) strlen (SOEXT))
static gboolean
string_needs_escape (const char *str)