davide added a subscriber: nlewycky.
davide added a comment.

And I was wrong. @nlewycky explained on IRC:

  14:23 < nlewycky> gcc is correct, in 'char + char' each char gets promoted to 
'int' first then summed, then you've got an unsigned int == int comparison
  14:23 < nlewycky> uint8_t and unsigned char are also promoted to int (not 
unsigned int) before the addition


https://reviews.llvm.org/D32137



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to