mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
mshtml: Adjust NS_ERROR_GENERATE_FAILURE to avoid shift overflow.
This commit is contained in:
parent
775de7922e
commit
a0da827d61
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue