[asterisk-bugs] [Asterisk 0015656]: [patch] res_calendar.c does not compile in devmode

Asterisk Bug Tracker noreply at bugs.digium.com
Sat Aug 15 07:17:50 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15656 
====================================================================== 
Reported By:                mvanbaak
Assigned To:                mvanbaak
====================================================================== 
Project:                    Asterisk
Issue ID:                   15656
Category:                   Resources/General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 210477 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-08-05 03:12 CDT
Last Modified:              2009-08-15 07:17 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0109079) svnbot (reporter) - 2009-08-15 07:17
 https://issues.asterisk.org/view.php?id=15656#c109079 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 212346

_U  branches/1.6.2/

------------------------------------------------------------------------
r212346 | mvanbaak | 2009-08-15 07:17:50 -0500 (Sat, 15 Aug 2009) | 16
lines

Blocked revisions 212343 via svnmerge

........
  r212343 | mvanbaak | 2009-08-15 13:36:19 +0200 (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=212346 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-08-15 07:17 svnbot         Checkin                                      
2009-08-15 07:17 svnbot         Note Added: 0109079                          
======================================================================




More information about the asterisk-bugs mailing list