On Sun, Dec 29, 2013 at 2:01 PM, Mateusz Czaplinski <czapkofan@gmail.com> wrote:
Now, I'm really not much of a C standard lawyer, so I'm not sure here if comparing "int" to "unsigned char" is undefined (and thus maybe bug in Lua?) or defined (and thus maybe bug in Go's C compiler)?
From http://stackoverflow.com/a/17312930/98528, I believe Lua is OK here (I understand that apparently "unsigned char" should get promoted to "int", and then both ints can be compared). Reported this to Go project's issue tracker, thus.