Small compilation warning fix
authorPhilip Van Hoof <philip@codeminded.be>
Fri, 15 Jun 2007 12:50:10 +0000 (12:50 +0000)
committerPhilip Van Hoof <philip@codeminded.be>
Fri, 15 Jun 2007 12:50:10 +0000 (12:50 +0000)
pmo-trunk-r2257

src/modest-init.c

index 3fe6eb8..f75354f 100644 (file)
@@ -658,7 +658,7 @@ init_default_settings (ModestConf *conf)
 static void
 init_device_name (ModestConf *conf)
 {
-       int len = 255; /* max len */
+       unsigned int len = 255; /* max len */
        gchar *devname = NULL;
        
        if (!g_file_get_contents("/etc/hostname", &devname, &len, NULL) || len < 2 || len > 254) {