danmar/cppcheck — comment on commit 612b3c59ca85d5f33f30ab0c4ce2457567962ea8
File: lib/tokenize.cpp line 9365
By edward-san:

IIRC "bool" is converted automatically to the same integer type and (int)true = 1; (int)false = 0.