Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#13 32bit assumption on int

closed-accepted
nobody
None
5
2012-07-25
2012-07-25
Jose Da Silva
No

Some compilers have int sizes that are not 32bit in size.
http://en.wikipedia.org/wiki/C_data_types#Basic_types

NOTE: basic.h contains int32 which could probably be another choice instead of int

not related to this int, but more food for thought...
http://www.ibm.com/developerworks/library/l-port64/index.html

Discussion

  • Jose Da Silva
    Jose Da Silva
    2012-07-25

    changed to 32bit long

     
    Attachments
    • status: open --> closed-accepted
     
  • Thanks, applied. I used int32 (we already
    include basics.h, by means of ustring.h).