subroutine is a variable of an enum type. BRW_WM_MAX_SUBROUTINE is a #define'd constant which is known at compile time to be larger than the maximum possible value of the enum. Cast these values to (int) in an assert(), to avoid a warning from clang -Wtautological-constant-out-of-range-compare. |