mirror of
https://github.com/reactos/reactos.git
synced 2025-05-06 18:31:26 +00:00
fix FIELD_OFFSET macro
svn path=/trunk/; revision=37866
This commit is contained in:
parent
8156dcd959
commit
1f8539a65e
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ typedef unsigned long POINTER_64; // FIXME! HACK!!!
|
|||
//
|
||||
#ifndef FIELD_OFFSET
|
||||
#define FIELD_OFFSET(Type, Field) \
|
||||
((LONG) (&(((Type *) 0)->Field)))
|
||||
((LONG_PTR) (&(((Type *) 0)->Field)))
|
||||
#endif
|
||||
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue