[PSDK] Improve definition of CBR_BLOCK
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Sun, 13 Jan 2019 12:42:23 +0000 (13:42 +0100)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Mon, 4 Mar 2019 20:58:42 +0000 (21:58 +0100)
The cast doesn't exist in native headers, but this causes warnings.

sdk/include/psdk/ddeml.h

index b755497..33f1503 100644 (file)
@@ -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