https://git.reactos.org/?p=reactos.git;a=commitdiff;h=cdee66961976c4015f6c6…
commit cdee66961976c4015f6c69e29b41fe9111884862
Author: Timo Kreuzer <timo.kreuzer(a)reactos.org>
AuthorDate: Thu Jan 3 14:27:15 2019 +0100
Commit: Timo Kreuzer <timo.kreuzer(a)reactos.org>
CommitDate: Thu Jan 3 14:27:15 2019 +0100
[RXCE] Fix 64 bit build
---
sdk/lib/drivers/rxce/rxce.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/sdk/lib/drivers/rxce/rxce.c b/sdk/lib/drivers/rxce/rxce.c
index 9c106d477a..0f65b3f6ab 100644
--- a/sdk/lib/drivers/rxce/rxce.c
+++ b/sdk/lib/drivers/rxce/rxce.c
@@ -725,7 +725,12 @@ RxCancelBlockingOperation(
{
PFOBX Fobx;
BOOLEAN PostRequest;
- C_ASSERT(FIELD_OFFSET(RX_CONTEXT, IoStatusBlock.Status) == 100);
+
+#ifdef _WIN64
+ C_ASSERT(FIELD_OFFSET(RX_CONTEXT, IoStatusBlock.Status) == 0x0B0);
+#else
+ C_ASSERT(FIELD_OFFSET(RX_CONTEXT, IoStatusBlock.Status) == 0x064);
+#endif
PAGED_CODE();