From aaee0d1bbf60de17c95c0e2bc5a905753e8deef6 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Thu, 6 Jul 2017 02:23:46 +0200 Subject: gallium: use "ull" number suffix to keep the QtCreator parser happy It can't parse "llu". Reviewed-by: Thomas Helland Reviewed-by: Eric Engestrom --- src/mesa/state_tracker/st_atom.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa/state_tracker/st_atom.h') diff --git a/src/mesa/state_tracker/st_atom.h b/src/mesa/state_tracker/st_atom.h index 663bc06707b..f9711d53938 100644 --- a/src/mesa/state_tracker/st_atom.h +++ b/src/mesa/state_tracker/st_atom.h @@ -68,7 +68,7 @@ enum { /* Define ST_NEW_xxx values as static const uint64_t values. * We can't use an enum type because MSVC doesn't allow 64-bit enum values. */ -#define ST_STATE(FLAG, st_update) static const uint64_t FLAG = 1llu << FLAG##_INDEX; +#define ST_STATE(FLAG, st_update) static const uint64_t FLAG = 1ull << FLAG##_INDEX; #include "st_atom_list.h" #undef ST_STATE @@ -145,7 +145,7 @@ enum { /* All state flags within each group: */ #define ST_PIPELINE_RENDER_STATE_MASK (ST_NEW_CS_STATE - 1) -#define ST_PIPELINE_COMPUTE_STATE_MASK (0xffllu << ST_NEW_CS_STATE_INDEX) +#define ST_PIPELINE_COMPUTE_STATE_MASK (0xffull << ST_NEW_CS_STATE_INDEX) #define ST_PIPELINE_CLEAR_STATE_MASK (ST_NEW_FB_STATE | \ ST_NEW_SCISSOR | \ ST_NEW_WINDOW_RECTANGLES) -- cgit v1.2.3