mirror of
https://github.com/TomHarte/CLK.git
synced 2025-01-11 08:30:55 +00:00
Ensure no implicit conversion from int to IntT.
This commit is contained in:
parent
ab69fe56c9
commit
e06f470044
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user