diff --git a/src/verbs-test.h b/src/verbs-test.h
index 24c7c73a62984510267cd5a69b95918864adadd2..145b3859fade88daed70c6bf68a191d87b0d6574 100644 (file)
--- a/src/verbs-test.h
+++ b/src/verbs-test.h
TSM_ASSERT( descr, verb );
if ( verb )
{
- TSM_ASSERT_EQUALS( descr, verb->get_code(), i );
+ TSM_ASSERT_EQUALS( descr, verb->get_code(), static_cast<unsigned int>(i) );
if ( i != static_cast<int>(SP_VERB_INVALID) )
{
//TSM_ASSERT( descr, bounced );
if ( bounced )
{
- TSM_ASSERT_EQUALS( descr, bounced->get_code(), i );
+ TSM_ASSERT_EQUALS( descr, bounced->get_code(), static_cast<unsigned int>(i) );
}
else
{
- TS_WARN( std::string("Unable to getbyid() for ") + descr + std::string(" ID: '") + std::string(verb->get_id()) + std::string("'") );
+ TS_FAIL( std::string("Unable to getbyid() for ") + descr + std::string(" ID: '") + std::string(verb->get_id()) + std::string("'") );
}
}
else