#3794: Complier warnings on OS X 10.11.1 with Xcode 7.1.1
---------------------+---------------------
  Reporter:  chdiza  |      Owner:  brendan
      Type:  defect  |     Status:  new
  Priority:  minor   |  Milestone:
 Component:  SMTP    |    Version:
Resolution:          |   Keywords:
---------------------+---------------------

Comment (by kevin8t8):

 Thanks Petr, my brain was a bit frazzled last night after dealing with the
 other bug.  Some quick Googling seems to say that whether "char *" is
 signed or unsigned is implementation dependent.

 In either case, the comparison is still correct (although I intend to test
 more thoroughly today :-)), but the question is how to get rid of the
 warning.

 Would something like
 {{{
   while (a && *a && !(*a & (1<<7))
 }}}
 work?

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

Reply via email to