changeset 15158:67ccc195074b

[gaim-migrate @ 17943] Get rid of two minor compile warnings committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 10 Dec 2006 09:09:39 +0000
parents e9b034a7d218
children 68385f5bbd61
files console/libgnt/gntwm.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/console/libgnt/gntwm.c	Sun Dec 10 09:05:40 2006 +0000
+++ b/console/libgnt/gntwm.c	Sun Dec 10 09:09:39 2006 +0000
@@ -191,7 +191,7 @@
 	char *filename = g_build_filename(g_get_home_dir(), ".gntpositions", NULL);
 	GError *error = NULL;
 	char **keys;
-	int nk;
+	gsize nk;
 
 	if (!g_key_file_load_from_file(gfile, filename, G_KEY_FILE_NONE, &error)) {
 		g_printerr("GntWM: %s\n", error->message);
@@ -208,7 +208,7 @@
 	} else {
 		while (nk--) {
 			char *title = keys[nk];
-			int l;
+			gsize l;
 			char **coords = g_key_file_get_string_list(gfile, "positions", title, &l, NULL);
 			if (l == 2) {
 				int x = atoi(coords[0]);