summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Michelson <mmichelson@digium.com>2008-01-07 22:31:03 +0000
committerMark Michelson <mmichelson@digium.com>2008-01-07 22:31:03 +0000
commit52fb517bf9250fc44301b25db0d291fff126ed9b (patch)
tree79e4be218305904893f0e26f27c9d382b30768e6
parent3def286b5b08974bc41bfc7007de0d122501fe46 (diff)
Explicitly make literal constants long where they are expected to be.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@96987 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-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