fix clang warnings

so that they don't annoy me
This commit is contained in:
notaz 2013-07-29 01:55:49 +03:00
parent 3e9da86efe
commit da77daa962
5 changed files with 6 additions and 5 deletions

View file

@ -1430,7 +1430,7 @@ static const u16 ssh2_code[] = {
0x2200, 0x03e4 // slave start pointer in ROM
};
#define HWSWAP(x) (((x) << 16) | ((x) >> 16))
#define HWSWAP(x) (((u16)(x) << 16) | ((x) >> 16))
static void get_bios(void)
{
u16 *ps;