Fix ZSTD_getErrorString and add tests

This commit is contained in:
Sean Purcell
2017-02-08 17:28:49 -08:00
parent 60259eb9a0
commit e0b3265e87
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); }
/*=**************************************************************