Fix compiler warning.
This commit is contained in:
parent
decc2f7dfb
commit
214976a4fa
1 changed files with 3 additions and 3 deletions
|
@ -673,13 +673,13 @@ int main(int argc, char **argv) {
|
||||||
|
|
||||||
switch (engine) {
|
switch (engine) {
|
||||||
case Rle<val_t>::PLUGIN_ID: {
|
case Rle<val_t>::PLUGIN_ID: {
|
||||||
engine_name = "RLE";
|
engine_name = const_cast<char*>("RLE");
|
||||||
} break;
|
} break;
|
||||||
case For<val_t>::PLUGIN_ID: {
|
case For<val_t>::PLUGIN_ID: {
|
||||||
engine_name = "PFOR";
|
engine_name = const_cast<char*>("PFOR");
|
||||||
} break;
|
} break;
|
||||||
case -1: {
|
case -1: {
|
||||||
engine_name = "Time trial (multiple engines)";
|
engine_name = const_cast<char*>("Time trial (multiple engines)");
|
||||||
} break;
|
} break;
|
||||||
default: {
|
default: {
|
||||||
printf("Specify a valid compression scheme\n");
|
printf("Specify a valid compression scheme\n");
|
||||||
|
|
Loading…
Reference in a new issue