[Home]

Summary:ASTERISK-08450: Check type selection for sizes
Reporter:Markus Elfring (elfring)Labels:
Date Opened:2006-12-28 13:30:44.000-0600Date Closed:2011-06-07 14:08:06
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:I would prefer unsigned types at some places in the source code.
Do you know the rationale for the use of signed types so far?

Example:
How do you think about to use the data type "size_t" for parameters like "len" in the functions "send_html" and "setoption" instead of "int"?
http://asterisk.org/doxygen/trunk/structast__channel__tech.html#_details

I want to make sure the places that really need to store negative values. Does your development group agree on the portable value ranges?
Are you concerned about a binary application interface (ABI)?
Comments:By: Serge Vecher (serge-v) 2006-12-28 14:09:03.000-0600

elfring, again, you are using the bug-tracker to "ask questions"; please, once again, address the asterisk-dev mailing list!