Skip to content

Commit

Permalink
Portable int64 Literals
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick White authored and asuhan committed May 15, 2017
1 parent 0aaab7d commit 7082d3f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion QueryEngine/GpuRtConstants.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@
#ifndef QUERYENGINE_GPURTCONSTANTS_H
#define QUERYENGINE_GPURTCONSTANTS_H

#define EMPTY_KEY_64 9223372036854775807L
#include <cstdint>

#define EMPTY_KEY_64 INT64_C(9223372036854775807)
#define EMPTY_KEY_32 2147483647
#define EMPTY_KEY_16 32767
#define EMPTY_KEY_8 127
Expand Down

1 comment on commit 7082d3f

@billmaimone
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, Nick. Congrats, you have our first external merge to master. I think that merits some swag. Can you send me a T-shirt size and shipping address?

Please sign in to comment.