aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authormmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-01-07 22:31:03 +0000
committermmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-01-07 22:31:03 +0000
commit9092e3846749b7c06e5d921d277a1896c72b7acd (patch)
tree79e4be218305904893f0e26f27c9d382b30768e6 /apps
parentd6c121d04e5899d1a4f767cf954a9cdc0f320c31 (diff)
Explicitly make literal constants long where they are expected to be.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96987 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-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