* hosts/alphaosf.h (uint64_typeLOW, uint64_typeHIGH): Cast results

to unsigned long.
This commit is contained in:
Ian Lance Taylor 1993-12-01 19:51:19 +00:00
parent 5dac2dd5a4
commit e92512bb28
1 changed files with 4 additions and 2 deletions

View File

@ -19,7 +19,9 @@ typedef long int64_type;
#define BYTES_IN_PRINTF_INT 4
#define uint64_typeLOW(x) (((x) & 0xffffffff))
#define uint64_typeHIGH(x) (((x) >> 32) & 0xffffffff)
/* These must have type unsigned long because they are used as
arguments in printf functions. */
#define uint64_typeLOW(x) ((unsigned long) (((x) & 0xffffffff)))
#define uint64_typeHIGH(x) ((unsigned long) (((x) >> 32) & 0xffffffff))
#include "fopen-same.h"