1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-07-02 20:30:00 +00:00

Ensure no implicit conversion from int to IntT.

This commit is contained in:
Thomas Harte 2021-09-23 18:30:04 -04:00
parent ab69fe56c9
commit e06f470044

View File

@ -25,8 +25,8 @@ template <typename IntT> IntT apply_minterm(IntT a, IntT b, IntT c, int minterm)
//
switch(minterm) {
default:
case 0x00: return 0;
case 0xff: return ~0;
case 0x00: return IntT(0);
case 0xff: return IntT(~0);
case 0xf0: return a;