Commit a6becd79 authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

progman: Fix warning in PUT_SHORT macro (clang).

parent 93aabab6
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
#define GET_SHORT(buffer, i)\ #define GET_SHORT(buffer, i)\
(((BYTE)((buffer)[(i)]) + 0x100 * (signed char)((buffer)[(i)+1]))) (((BYTE)((buffer)[(i)]) + 0x100 * (signed char)((buffer)[(i)+1])))
#define PUT_SHORT(buffer, i, s)\ #define PUT_SHORT(buffer, i, s)\
(((buffer)[(i)] = (s) & 0xff, (buffer)[(i)+1] = ((s) >> 8) & 0xff)) (((buffer)[(i)] = (BYTE)((s) & 0xff), (buffer)[(i)+1] = (BYTE)(((s) >> 8) & 0xff)))
static BOOL GRPFILE_ReadFileToBuffer(LPCSTR, HLOCAL*, INT*); static BOOL GRPFILE_ReadFileToBuffer(LPCSTR, HLOCAL*, INT*);
static HLOCAL GRPFILE_ScanGroup(LPCSTR, INT, LPCSTR, BOOL); static HLOCAL GRPFILE_ScanGroup(LPCSTR, INT, LPCSTR, BOOL);
......
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