Fixed gcc warning in trial of crusader

"warning: enumeral mismatch in conditional expression: '<anonymous
enum>' vs '<anonymous enum>'"