#3926: hg tip (default): Type mismatches
----------------------+----------------------
Reporter: m-a | Owner: mutt-dev
Type: defect | Status: new
Priority: trivial | Milestone: 1.8
Component: mutt | Version:
Resolution: | Keywords:
----------------------+----------------------
Comment (by kevin8t8):
Sorry that was a stupid and untested patch. I reverted the txt2c.s
txt2c.sh, since we can't declare them as const and then modify them in
main.c.
I'm not really sure why main.c declared them as const and then passed them
to rstrip_in_place(). So I'm committing a new version that both defines
and declares them as {{{unsigned char[]}}} and casts to {{{char *}}} in
the various calls.
My version of gcc doesn't generate the warning, so I'm going to assume
this fixes the problem. If not, please reopen the ticket.
--
Ticket URL: <https://dev.mutt.org/trac/ticket/3926#comment:2>
Mutt <http://www.mutt.org/>
The Mutt mail user agent