gallium/util: fix debug_get_flags_option on 32-bit
authorDave Airlie <airlied@redhat.com>
Thu, 27 Aug 2015 23:57:04 +0000 (09:57 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 28 Aug 2015 23:06:04 +0000 (09:06 +1000)
commit8d6d0cc17d945317f44328a7761801e6781dc3fc
treeecb65037f311a8c9264aa1259864a50bc8ed3d64
parent275c5810ca7e38560b2a77281e7a0498c50126f8
gallium/util: fix debug_get_flags_option on 32-bit

On 32-bit we need to use PRIu64 flags for printfs,
otherwise this segfaults in R600_DEBUG=help otherwise.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Cc: "11.0" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/auxiliary/util/u_debug.c