* modest-outside-scratchbox patch 2:
[modest] / src / modest-init.c
index e81aa98..b453992 100644 (file)
@@ -730,7 +730,7 @@ init_default_settings (ModestConf *conf)
 static void
 init_device_name (ModestConf *conf)
 {
-       unsigned int len = 255; /* max len */
+       gsize len = 255; /* max len */
        gchar *devname = NULL;
        
        if (!g_file_get_contents("/etc/hostname", &devname, &len, NULL) || len < 2 || len > 254) {