Fix compiler warning.

This commit is contained in:
Sears Russell 2008-05-27 07:27:15 +00:00
parent decc2f7dfb
commit 214976a4fa

View file

@ -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");