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/list.h

    r14 r24  
    4242
    4343#ifndef OFFSETOF
    44 #define OFFSETOF( type , member ) ((unsigned int) & ((type *)0)->member)
     44#define OFFSETOF( type , member ) ((intptr_t) & ((type *)0)->member)
    4545#endif
    4646
Note: See TracChangeset for help on using the changeset viewer.