projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eda0d57
)
add back change long to long_ptr change did not think about it was correct thx hpussin
author
Magnus Olsen
<magnus@greatlord.com>
Tue, 29 Aug 2006 14:25:55 +0000
(14:25 +0000)
committer
Magnus Olsen
<magnus@greatlord.com>
Tue, 29 Aug 2006 14:25:55 +0000
(14:25 +0000)
svn path=/trunk/; revision=23771
reactos/include/psdk/winnt.h
patch
|
blob
|
history
diff --git
a/reactos/include/psdk/winnt.h
b/reactos/include/psdk/winnt.h
index
9123f76
..
c9f80df
100644
(file)
--- a/
reactos/include/psdk/winnt.h
+++ b/
reactos/include/psdk/winnt.h
@@
-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))))