hierarchy: improve error message

* spot/tl/hierarchy.cc (mp_class): Fix type of o so that it is
displayed as an character in error messages.
This commit is contained in:
Alexandre Duret-Lutz 2024-10-30 12:07:55 +01:00
parent 368eb6e0cd
commit 4a33f0fe65

View file

@ -312,7 +312,7 @@ namespace spot
bool wide = false;
if (opt)
for (;;)
switch (int o = *opt++)
switch (char o = *opt++)
{
case 'v':
verbose = true;