#15 closed defect (fixed)
uint8_t instead of u_int8_t is defined in Solaris
| Reported by: | jerryyu | Owned by: | zany |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | openobex-lib | Version: | |
| Keywords: | Cc: |
Description
At first if it's SUN OS will be checked. If yes, a macro will be defined "#define u_int8_t uint8_t.
Attachments (2)
Change History (5)
Changed 6 years ago by jerryyu
comment:1 Changed 6 years ago by zany
- Owner changed from somebody to zany
- Status changed from new to assigned
This is not the right fix. u_int8_t should not be used as it is a linux kernel type.
We should #include <inttypes.h> and use the C99 uint8_t.
comment:2 Changed 6 years ago by jerryyu
It's very nice that u_int8_t was replacement with C99 uint8_t so that it can be compiled successfully for different platforms which support C99.
comment:3 Changed 5 years ago by zany
- Resolution set to fixed
- Status changed from assigned to closed
Finally applied (with the win32 patch set). Thanks for spotting this Jerry!
Note: See
TracTickets for help on using
tickets.

patch for this bug