[asterisk-commits] mmichelson: trunk r96987 - /trunk/apps/app_voicemail.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Jan 7 16:31:03 CST 2008
Author: mmichelson
Date: Mon Jan 7 16:31:03 2008
New Revision: 96987
URL: http://svn.digium.com/view/asterisk?view=rev&rev=96987
Log:
Explicitly make literal constants long where they are expected to be.
Modified:
trunk/apps/app_voicemail.c
Modified: trunk/apps/app_voicemail.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_voicemail.c?view=diff&rev=96987&r1=96986&r2=96987
==============================================================================
--- trunk/apps/app_voicemail.c (original)
+++ trunk/apps/app_voicemail.c Mon Jan 7 16:31:03 2008
@@ -8220,25 +8220,25 @@
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
More information about the asterisk-commits
mailing list