csmith-project / csmith

Csmith, a random generator of C programs
http://embed.cs.utah.edu/csmith/
Other
1.02k stars 146 forks source link

fix bugs: const MAX_FILTER_KIND_SIZE outside the valid range #165

Open sendaoYan opened 9 months ago

sendaoYan commented 9 months ago

fix bugs: src/Filter.h:60:14: error: integer value 2 is outside the valid range of values [0, 1] for the enumeration type 'FilterKind' [-Wenum-constexpr-conversion]; https://github.com/csmith-project/csmith/issues/163

Fixes: #163