Fixed compiler warhing of casting int to pointer.

This commit is contained in:
Bart House
2017-09-02 12:09:18 -07:00
committed by Pasi Kallinen
parent 4a4193ab37
commit 497a0b47c8

View File

@@ -226,7 +226,7 @@ extern COLORREF status_fg_color;
extern COLORREF message_bg_color;
extern COLORREF message_fg_color;
#define SYSCLR_TO_BRUSH(x) ((HBRUSH)((x) + 1))
#define SYSCLR_TO_BRUSH(x) ((HBRUSH)(((intptr_t) x) + 1))
/* unicode stuff */
#define NH_CODEPAGE (SYMHANDLING(H_IBM) ? GetOEMCP() : GetACP())