[Home]

Summary:ASTERISK-13154: [patch] Use of 'uint' instead of 'unsigned int' causes build problems on FreeBSD
Reporter:Dinesh Nair (alphaque)Labels:
Date Opened:2008-12-02 04:27:01.000-0600Date Closed:2008-12-05 14:50:20.000-0600
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/BuildSystem
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) astobj2.h-patch
Description:asterisk 1.2.30.3 does not build on freebsd systems as a type of uint is used instead of unsigned int in include/asterisk/astobj2.h.

****** ADDITIONAL INFORMATION ******

the attached patch file fixes this type-o (pun intended !)
Comments:By: Leif Madsen (lmadsen) 2008-12-05 14:21:19.000-0600

From what I can tell, this has always been the case, and since bug fixes are not accepted for 1.2 (as it is end of life, and only security issues are permitted), I do not believe this is an issue that will be moved forward. Please feel free to find a bug marshall in #asterisk-bugs on irc.freenode.net should you wish to discuss.

Thanks!

By: Leif Madsen (lmadsen) 2008-12-05 14:26:20.000-0600

I closed this a bit premature it seems. For something this trivial, it has been ok'd by russell to let this change go in. Thanks for the contribution!

By: Digium Subversion (svnbot) 2008-12-05 14:50:19.000-0600

Repository: asterisk
Revision: 161421

U   branches/1.2/astobj2.c
U   branches/1.2/include/asterisk/astobj2.h

------------------------------------------------------------------------
r161421 | seanbright | 2008-12-05 14:50:18 -0600 (Fri, 05 Dec 2008) | 8 lines

Fix build errors on FreeBSD (uint -> unsigned int).

(closes issue ASTERISK-13154)
Reported by: alphaque
Patches:
     astobj2.h-patch uploaded by alphaque (license 259)
     (Slightly modified by seanbright)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=161421