Cast explicitely enum to size_t to prevent compilation error in debug mode.
I hit the compilation error while compiling the master in debug mode:
/home/agheata/geant_src/VecGeom/source/LoggerTypes.cpp:23:14: error: no match for ‘operator*’ (operand types are ‘vecgeom::LogLevel’ and ‘long unsigned int’)
23 | assert(lev * sizeof(const char *) < sizeof(data));
| ~~~ ^ ~~~~~~~~~~~~~~~~~~~~
| | |
| | long unsigned int
| vecgeom::LogLevel