Changeset 24
- Timestamp:
- Jun 19, 2017, 11:19:06 AM (8 years ago)
- Location:
- trunk/kernel/libk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/libk/list.h
r14 r24 42 42 43 43 #ifndef OFFSETOF 44 #define OFFSETOF( type , member ) (( unsigned int) & ((type *)0)->member)44 #define OFFSETOF( type , member ) ((intptr_t) & ((type *)0)->member) 45 45 #endif 46 46 -
trunk/kernel/libk/xlist.h
r14 r24 54 54 55 55 #ifndef OFFSETOF 56 #define OFFSETOF( type , member ) (( unsigned int) & ((type *)0)->member)56 #define OFFSETOF( type , member ) ((intptr_t) & ((type *)0)->member) 57 57 #endif 58 58
Note: See TracChangeset
for help on using the changeset viewer.