projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65c16d6
)
Small compilation warning fix
author
Philip Van Hoof
<philip@codeminded.be>
Fri, 15 Jun 2007 12:50:10 +0000
(12:50 +0000)
committer
Philip Van Hoof
<philip@codeminded.be>
Fri, 15 Jun 2007 12:50:10 +0000
(12:50 +0000)
pmo-trunk-r2257
src/modest-init.c
patch
|
blob
|
history
diff --git
a/src/modest-init.c
b/src/modest-init.c
index
3fe6eb8
..
f75354f
100644
(file)
--- a/
src/modest-init.c
+++ b/
src/modest-init.c
@@
-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) {