Merge pull request #538 from iburinoc/errorstring

Fix ZSTD_getErrorString and add tests
This commit is contained in:
Yann Collet
2017-02-10 03:59:56 -08:00
committed by GitHub
2 changed files with 11 additions and 1 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ ZSTD_ErrorCode ZSTD_getErrorCode(size_t code) { return ERR_getErrorCode(code); }
/*! ZSTD_getErrorString() :
* provides error code string from enum */
const char* ZSTD_getErrorString(ZSTD_ErrorCode code) { return ERR_getErrorName(code); }
const char* ZSTD_getErrorString(ZSTD_ErrorCode code) { return ERR_getErrorString(code); }
/*=**************************************************************