"Detlef Riekenberg" wine.dev@web.de wrote:
--- a/dlls/kernel/tests/heap.c +++ b/dlls/kernel/tests/heap.c @@ -25,6 +25,8 @@ #include "winbase.h" #include "wine/test.h"
+#define MAGIC_DEAD 0x00dead00
- SetLastError(MAGIC_DEAD);
- hsecond = GlobalFree(gbl); /* invalid handle: free memory twice */
There is no need to invent a new magic number, a usual convenience for Wine tests is to use 0xdeadbeef.