diff options
author | Mark Spencer <markster@digium.com> | 2003-09-08 16:48:07 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2003-09-08 16:48:07 +0000 |
commit | 479a67e629385a2c43bf9383c0c23f5dae032504 (patch) | |
tree | 32674bc8c5dc21153e7c8a4548f6641aef0566bf /pbx/pbx_spool.c | |
parent | 1e19f72077a8e2f5befb21bb5c3f2131f8b24107 (diff) |
BSD portability enhancements (bug #234)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1486 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'pbx/pbx_spool.c')
-rwxr-xr-x | pbx/pbx_spool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pbx/pbx_spool.c b/pbx/pbx_spool.c index 3c256956f..d51c17e9c 100755 --- a/pbx/pbx_spool.c +++ b/pbx/pbx_spool.c @@ -243,7 +243,7 @@ static int scan_service(char *fn, time_t now, time_t atime) if (o->retries <= o->maxretries + 1) { /* Add a retry line at the end */ fseek(f, 0L, SEEK_END); - fprintf(f, "Retry: %d (%ld)\n", o->retries, now); + fprintf(f, "Retry: %d (%ld)\n", o->retries, (long) now); fclose(f); now += o->retrytime; launch_service(o); |