#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):

 This is one of those weird things...  txt2c.c generates the arrays by
 reading in unsigned char[] and printing each unsigned character out using
 {{{"0x%02x"}}}.

 Anyway, I think the simplest fix is to define/declare them as the lowest
 common denominator: const unsigned char[] and then adding casts inside
 main.c.

 I'm attaching a patch.  It compiles cleanly for me, but I'd appreciate if
 you'd double check it works for you too.  Note that you may have to rm
 conststrings.[co] to have that file regenerated.

--
Ticket URL: <https://dev.mutt.org/trac/ticket/3926#comment:1>
Mutt <http://www.mutt.org/>
The Mutt mail user agent

Reply via email to