add msvc compiling fixes for zstdmt

This commit is contained in:
Tino Reichardt
2017-06-18 14:11:36 +02:00
parent 9ac1921f80
commit 2cea31c544
5 changed files with 10 additions and 4 deletions

View File

@@ -32,6 +32,7 @@ unsigned BROTLIMT_isError(size_t code)
const char *BROTLIMT_getErrorString(size_t code)
{
static const char *noErrorCode = "Unspecified brotli error code";
switch ((BROTLIMT_ErrorCode) (0 - code)) {
case PREFIX(no_error):
return "No error detected";