Remove 1 compiler warning.
authorJulien Lavergne <julien.lavergne@gmail.com>
Mon, 20 Dec 2010 18:13:04 +0000 (19:13 +0100)
committerJulien Lavergne <julien.lavergne@gmail.com>
Mon, 20 Dec 2010 18:13:04 +0000 (19:13 +0100)
src/lxappearance.c

index d6824da..8d638d7 100644 (file)
@@ -206,7 +206,7 @@ static void lxappearance_save_lxsession()
     char* rel_path = g_strconcat("lxsession/", lxsession_name, "/desktop.conf", NULL);
     char* user_config_file = g_build_filename(g_get_user_config_dir(), rel_path, NULL);
     char* buf;
-    int len;
+    gsize len;
     GKeyFile* kf = g_key_file_new();
 
     if(!g_key_file_load_from_file(kf, user_config_file, G_KEY_FILE_KEEP_COMMENTS|G_KEY_FILE_KEEP_TRANSLATIONS, NULL))