diff --git a/.pick_status.json b/.pick_status.json index eda3ee27038..f2734e66228 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -1064,7 +1064,7 @@ "description": "freedreno/decode: Fix const correctness in get_tex_count", "nominated": true, "nomination_type": 2, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": "1ea4ef0d3be829e392922f5d26fbc89bf69a8a67", "notes": null diff --git a/src/freedreno/decode/cffdec.c b/src/freedreno/decode/cffdec.c index d37491cc668..ca0594af54d 100644 --- a/src/freedreno/decode/cffdec.c +++ b/src/freedreno/decode/cffdec.c @@ -536,7 +536,7 @@ static int get_tex_count(const char *name) { char count_reg[strlen(name) + 5]; - char *p; + const char *p; p = strstr(name, "CONST"); if (!p)