X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fmodest-init.c;h=b45399264d6402fcf4de275519e9aa65e6fa0aaf;hb=9041596bb209fa0a3d78d4cdbb3f0d4785fcbd84;hp=e81aa98fed9e033dc95be030f711a2523bf10293;hpb=c6e92e9c0075505a97acc092ee6ac7d694b4b6f2;p=modest diff --git a/src/modest-init.c b/src/modest-init.c index e81aa98..b453992 100644 --- a/src/modest-init.c +++ b/src/modest-init.c @@ -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) {