# HG changeset patch # User Mark Doliner # Date 1165741779 0 # Node ID 67ccc195074b1d83f592626b1d17381cbb238226 # Parent e9b034a7d218565f357c198d4d1c5236c21bbe03 [gaim-migrate @ 17943] Get rid of two minor compile warnings committer: Tailor Script diff -r e9b034a7d218 -r 67ccc195074b console/libgnt/gntwm.c --- 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]);