Ignore:
Timestamp:
Jun 19, 2017, 11:19:06 AM (4 years ago)
Author:
max@…
Message:

Use intptr_t instead.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/libk/xlist.h

    r14 r24  
    5454
    5555#ifndef OFFSETOF
    56 #define OFFSETOF( type , member ) ((unsigned int) & ((type *)0)->member)
     56#define OFFSETOF( type , member ) ((intptr_t) & ((type *)0)->member)
    5757#endif
    5858
Note: See TracChangeset for help on using the changeset viewer.