fixed VS project

This commit is contained in:
Yann Collet committed 2016-01-21 16:04:35 +01:00
1 parent ffec740d37
commit a768a301ba
6 files changed
+80 -84

No files matched your search

+1 -1
View File
@@ -81,7 +81,7 @@ ERR_STATIC unsigned ERR_isError(size_t code) { return (code > ERROR(maxCode)); }
ERR_STATIC const char* ERR_getErrorName(size_t code)
{
static const char* codeError = "Unspecified error code";
switch( (size_t)-code )
switch( (size_t)(0-code) )
{
case ZSTD_error_No_Error: return "No error detected";
case ZSTD_error_GENERIC: return "Error (generic)";