Commit a0da827d authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard

mshtml: Adjust NS_ERROR_GENERATE_FAILURE to avoid shift overflow.

parent 775de792
......@@ -40,7 +40,7 @@
#include "nsiface.h"
#define NS_ERROR_GENERATE_FAILURE(module,code) \
((nsresult) (((UINT32)(1<<31)) | ((UINT32)(module+0x45)<<16) | ((UINT32)(code))))
((nsresult) (((UINT32)(1u<<31)) | ((UINT32)(module+0x45)<<16) | ((UINT32)(code))))
#define NS_OK ((nsresult)0x00000000L)
#define NS_ERROR_FAILURE ((nsresult)0x80004005L)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment