https://git.reactos.org/?p=reactos.git;a=commitdiff;h=252114a3a163be3a61fb8…
commit 252114a3a163be3a61fb8c8c29146cdb0b677dbf
Author: Timo Kreuzer <timo.kreuzer(a)reactos.org>
AuthorDate: Sun Jan 13 13:42:23 2019 +0100
Commit: Timo Kreuzer <timo.kreuzer(a)reactos.org>
CommitDate: Mon Mar 4 21:58:42 2019 +0100
[PSDK] Improve definition of CBR_BLOCK
The cast doesn't exist in native headers, but this causes warnings.
---
sdk/include/psdk/ddeml.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sdk/include/psdk/ddeml.h b/sdk/include/psdk/ddeml.h
index b755497f93..33f1503e07 100644
--- a/sdk/include/psdk/ddeml.h
+++ b/sdk/include/psdk/ddeml.h
@@ -114,7 +114,7 @@ extern "C" {
#define CBF_SKIP_DISCONNECTS 0x00200000
#define CBF_SKIP_ALLNOTIFICATIONS 0x003c0000
-#define CBR_BLOCK ((HDDEDATA)~0UL)
+#define CBR_BLOCK ((HDDEDATA)(LONG_PTR)-1)
/*
* Application command flags