mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 07:02:38 +00:00
[PSDK]
Improve MAKEINTRESOURCE macros to silence warnings on overzealous gcc versions. See issue #5343 for more details. svn path=/trunk/; revision=51655
This commit is contained in:
parent
52077d8306
commit
4e8ffdfe77
1 changed files with 2 additions and 2 deletions
|
@ -577,8 +577,8 @@ extern "C" {
|
|||
#define SB_BOTTOM 7
|
||||
#define SB_TOP 6
|
||||
#define IS_INTRESOURCE(i) (((ULONG_PTR)(i) >> 16) == 0)
|
||||
#define MAKEINTRESOURCEA(i) (LPSTR)((ULONG_PTR)((WORD)(i)))
|
||||
#define MAKEINTRESOURCEW(i) (LPWSTR)((ULONG_PTR)((WORD)(i)))
|
||||
#define MAKEINTRESOURCEA(i) ((LPSTR)(ULONG_PTR)LOWORD(i))
|
||||
#define MAKEINTRESOURCEW(i) ((LPWSTR)(ULONG_PTR)LOWORD(i))
|
||||
#ifndef XFree86Server
|
||||
# define RT_CURSOR MAKEINTRESOURCE(1)
|
||||
# define RT_FONT MAKEINTRESOURCE(8)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue