Displaying level in --show-default-cparams (#1991)

* Displaying level in --show-default-cparams

* Displaying actual enum value instead of level
dev
Bimba Shrestha 2020-02-06 13:51:43 -08:00 committed by GitHub
parent 6a4258a08a
commit f627e1a1ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

View File

@ -1246,7 +1246,7 @@ int main(int const argCount, const char* argv[])
DISPLAY(" - minMatch : %u\n", cParams.minMatch);
DISPLAY(" - targetLength : %u\n", cParams.targetLength);
assert(cParams.strategy < ZSTD_NB_STRATEGIES + 1);
DISPLAY(" - strategy : %s\n", ZSTD_strategyMap[(int)cParams.strategy]);
DISPLAY(" - strategy : %s (%u)\n", ZSTD_strategyMap[(int)cParams.strategy], (unsigned)cParams.strategy);
}
}