summaryrefslogtreecommitdiffstats
path: root/src/util/bitscan.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-07-06 02:23:46 +0200
committerMarek Olšák <[email protected]>2017-07-10 22:44:48 +0200
commitaaee0d1bbf60de17c95c0e2bc5a905753e8deef6 (patch)
tree1ffe52b24e216bdd8211bfad677804176dc5bbf4 /src/util/bitscan.h
parent833108ac14ade91f54cc6e1e157ecc19b62da404 (diff)
gallium: use "ull" number suffix to keep the QtCreator parser happy
It can't parse "llu". Reviewed-by: Thomas Helland <[email protected]> Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/util/bitscan.h')
-rw-r--r--src/util/bitscan.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/bitscan.h b/src/util/bitscan.h
index 7a605e0370f..611e8120596 100644
--- a/src/util/bitscan.h
+++ b/src/util/bitscan.h
@@ -136,7 +136,7 @@ u_bit_scan_consecutive_range(unsigned *mask, int *start, int *count)
static inline void
u_bit_scan_consecutive_range64(uint64_t *mask, int *start, int *count)
{
- if (*mask == ~0llu) {
+ if (*mask == ~0ull) {
*start = 0;
*count = 64;
*mask = 0;