[asterisk-bugs] [Asterisk 0015656]: [patch] res_calendar.c does not compile in devmode
Asterisk Bug Tracker
noreply at bugs.digium.com
Sat Aug 15 06:36:47 CDT 2009
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=15656
======================================================================
Reported By: mvanbaak
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 15656
Category: Resources/General
Reproducibility: always
Severity: major
Priority: normal
Status: new
Asterisk Version: SVN
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!): 210477
Request Review:
======================================================================
Date Submitted: 2009-08-05 03:12 CDT
Last Modified: 2009-08-15 06:36 CDT
======================================================================
Summary: [patch] res_calendar.c does not compile in devmode
Description:
When compiling res_calendar.c I get a bunch of warnings about different
types.
This patch fixes it for me.
I'm not sure this is the correct fix though. So advice is welcome.
======================================================================
----------------------------------------------------------------------
(0109076) svnbot (reporter) - 2009-08-15 06:36
https://issues.asterisk.org/view.php?id=15656#c109076
----------------------------------------------------------------------
Repository: asterisk
Revision: 212343
U trunk/res/res_calendar.c
------------------------------------------------------------------------
r212343 | mvanbaak | 2009-08-15 06:36:46 -0500 (Sat, 15 Aug 2009) | 10
lines
cast time_t type variables to long where needed.
This makes res_calendar.c compile on OpenBSD and the same
cast is used in a lot of other places where time_t type vars are used.
(closes issue https://issues.asterisk.org/view.php?id=15656)
Reported by: mvanbaak
Patches:
2009081100-rescalendarcompilefix.diff.txt uploaded by mvanbaak
(license 7)
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=212343
Issue History
Date Modified Username Field Change
======================================================================
2009-08-15 06:36 svnbot Checkin
2009-08-15 06:36 svnbot Note Added: 0109076
======================================================================
More information about the asterisk-bugs
mailing list