Author: tkreuzer
Date: Fri Dec 5 06:10:31 2008
New Revision: 37866
URL:
http://svn.reactos.org/svn/reactos?rev=37866&view=rev
Log:
fix FIELD_OFFSET macro
Modified:
trunk/reactos/include/ddk/ntdef.h
Modified: trunk/reactos/include/ddk/ntdef.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/ntdef.h?rev=37…
==============================================================================
--- trunk/reactos/include/ddk/ntdef.h [iso-8859-1] (original)
+++ trunk/reactos/include/ddk/ntdef.h [iso-8859-1] Fri Dec 5 06:10:31 2008
@@ -164,7 +164,7 @@
//
#ifndef FIELD_OFFSET
#define FIELD_OFFSET(Type, Field) \
- ((LONG) (&(((Type *) 0)->Field)))
+ ((LONG_PTR) (&(((Type *) 0)->Field)))
#endif
//