Fix a few compiler warnings

This commit is contained in:
2023-01-06 22:02:05 -05:00
parent 9a4056019b
commit 0714004f1c
4 changed files with 10 additions and 8 deletions

View File

@@ -73,7 +73,7 @@ xHandlerNotSupported::xHandlerNotSupported(eDlogEvt t){
this->evt = t;
}
const char* xHandlerNotSupported::what() const throw() {
assert("A handler not supported message is missing!" && evt < 4);
assert("A handler not supported message is missing!" && int(evt) < 4);
return msg[evt];
}