From 1f8539a65e2e58a810b7b6ac394f8888a2d9de67 Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Fri, 5 Dec 2008 12:10:31 +0000 Subject: [PATCH] fix FIELD_OFFSET macro svn path=/trunk/; revision=37866 --- reactos/include/ddk/ntdef.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/include/ddk/ntdef.h b/reactos/include/ddk/ntdef.h index 13c9eaac141..b17afaf440c 100644 --- a/reactos/include/ddk/ntdef.h +++ b/reactos/include/ddk/ntdef.h @@ -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 //