Hi Michael,
Try using <stdint.h> types instead:
#include <stdint.h> int64_t hash; hash = (hash << 1) & INT64_MAX;
--or--
#include <stdint.h> int64_t hash; hash = (hash << 1) & INT64_C(0x7FFFFFFFFFFFFFFF);
HTH, --Eljay
Hi Michael,
Try using <stdint.h> types instead:
#include <stdint.h> int64_t hash; hash = (hash << 1) & INT64_MAX;
--or--
#include <stdint.h> int64_t hash; hash = (hash << 1) & INT64_C(0x7FFFFFFFFFFFFFFF);
HTH, --Eljay