On Sun, Aug 21, 2022 at 11:08:53PM +0100, Chris Down wrote:
> We retrieve these from their respective functions arguments as const,
> and can trivially respect that.

Hi Chris,

There's one more instance that's missed by this patch, it gets caught if
you try to compile with `-Wcast-qual`:

        drw.c: In function 'drw_text':
        drw.c:336:75: warning: cast discards 'const' qualifier from pointer 
target type [-Wcast-qual]
          336 |        usedfont->xfont, x, ty, (XftChar8 *)utf8str, utf8strlen);
              |                                ^

- NRK

Reply via email to