aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_voicemail.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/app_voicemail.c')
-rw-r--r--apps/app_voicemail.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index a8e5c309a..09df9423d 100644
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -8220,25 +8220,25 @@ static int load_config(int reload)
if ((val = ast_variable_retrieve(cfg, "general", "imapreadtimeout"))) {
mail_parameters(NIL, SET_READTIMEOUT, (void *) (atol(val)));
} else {
- mail_parameters(NIL, SET_READTIMEOUT, (void *) 60);
+ mail_parameters(NIL, SET_READTIMEOUT, (void *) 60L);
}
if ((val = ast_variable_retrieve(cfg, "general", "imapwritetimeout"))) {
mail_parameters(NIL, SET_WRITETIMEOUT, (void *) (atol(val)));
} else {
- mail_parameters(NIL, SET_WRITETIMEOUT, (void *) 60);
+ mail_parameters(NIL, SET_WRITETIMEOUT, (void *) 60L);
}
if ((val = ast_variable_retrieve(cfg, "general", "imapopentimeout"))) {
mail_parameters(NIL, SET_OPENTIMEOUT, (void *) (atol(val)));
} else {
- mail_parameters(NIL, SET_OPENTIMEOUT, (void *) 60);
+ mail_parameters(NIL, SET_OPENTIMEOUT, (void *) 60L);
}
if ((val = ast_variable_retrieve(cfg, "general", "imapclosetimeout"))) {
mail_parameters(NIL, SET_CLOSETIMEOUT, (void *) (atol(val)));
} else {
- mail_parameters(NIL, SET_CLOSETIMEOUT, (void *) 60);
+ mail_parameters(NIL, SET_CLOSETIMEOUT, (void *) 60L);
}
#endif