summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util/u_debug.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2015-07-25 15:55:45 +0200
committerMarek Olšák <[email protected]>2015-07-31 16:49:16 +0200
commit488a83637fe726d445775ee301e42003f749cb9f (patch)
tree8f18c19fdabf98d7a170ff10fb2f4ebbe3585eb6 /src/gallium/auxiliary/util/u_debug.h
parentb0528118dfb1af00e7d08cdb637191b80c14c2ba (diff)
gallium/util: clear up that debug_get_flags_option returns a 64-bit mask
Reviewed-by: Kai Wasserbäch <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/util/u_debug.h')
-rw-r--r--src/gallium/auxiliary/util/u_debug.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/auxiliary/util/u_debug.h b/src/gallium/auxiliary/util/u_debug.h
index b4286d32b32..926063a1918 100644
--- a/src/gallium/auxiliary/util/u_debug.h
+++ b/src/gallium/auxiliary/util/u_debug.h
@@ -269,7 +269,7 @@ void _debug_assert_fail(const char *expr,
struct debug_named_value
{
const char *name;
- unsigned long value;
+ uint64_t value;
const char *desc;
};
@@ -377,10 +377,10 @@ debug_get_bool_option(const char *name, boolean dfault);
long
debug_get_num_option(const char *name, long dfault);
-unsigned long
+uint64_t
debug_get_flags_option(const char *name,
const struct debug_named_value *flags,
- unsigned long dfault);
+ uint64_t dfault);
#define DEBUG_GET_ONCE_BOOL_OPTION(sufix, name, dfault) \
static boolean \