mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 09:11:42 +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:
parent
eda0d576b0
commit
a260e8be5d
1 changed files with 1 additions and 1 deletions
|
@ -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))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue