mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-30 12:23:28 +00:00
add back change long to long_ptr change did not think about it was correct thx hpussin
svn path=/trunk/; revision=23771
This commit is contained in:
@@ -1028,7 +1028,7 @@ typedef enum
|
||||
#define RTL_CRITSECT_TYPE 0
|
||||
#define RTL_RESOURCE_TYPE 1
|
||||
/* Also in winddk.h */
|
||||
#define FIELD_OFFSET(t,f) ((LONG)&(((t*)0)->f))
|
||||
#define FIELD_OFFSET(t,f) ((LONG_PTR)&(((t*)0)->f))
|
||||
#ifndef CONTAINING_RECORD
|
||||
#define CONTAINING_RECORD(address, type, field) \
|
||||
((type *)(((ULONG_PTR)address) - (ULONG_PTR)(&(((type *)0)->field))))
|
||||
|
||||
Reference in New Issue
Block a user