mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 17:50:11 +01:00
freedreno/decode: warnings cleanup
Signed-off-by: Rob Clark <robdclark@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6070>
This commit is contained in:
parent
cbbaafdf72
commit
5125b4bc69
2 changed files with 2 additions and 2 deletions
|
|
@ -560,7 +560,8 @@ static void print_cf(instr_cf_t *cf, int level)
|
|||
{
|
||||
printf("%s", levels[level]);
|
||||
if (debug & PRINT_RAW) {
|
||||
uint16_t *words = (uint16_t *)cf;
|
||||
uint16_t words[3];
|
||||
memcpy(&words, cf, sizeof(words));
|
||||
printf(" %04x %04x %04x \t",
|
||||
words[0], words[1], words[2]);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -26,7 +26,6 @@
|
|||
* Rob Clark <robclark@freedesktop.org>
|
||||
*/
|
||||
|
||||
#define _GNU_SOURCE
|
||||
#define LUA_COMPAT_APIINTCASTS
|
||||
|
||||
#include <stdio.h>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue