drh / lcc

The lcc retargetable ANSI C compiler
https://drh.github.io/lcc/
2.03k stars 442 forks source link

(unsigned char) cast from char ignored (Possible compilation bug?) #54

Open TomArrow opened 1 month ago

TomArrow commented 1 month ago

Hello,

I stumbled over a peculiar issue compiling openwall's crypt_blowfish using lcc for Quake 3 VMs, possibly a compiler bug.

It's really out of my depth, but here's the issue I created which includes the solution that was found by Solar Designer: https://github.com/openwall/crypt_blowfish/issues/3

Cheers

TomArrow commented 1 month ago

Actually, I've now been told that it may be a different/modified LCC version that is used for the QVMs, but I'll leave this up anyway just in case it's relevant here too.