Fix ZSTD_getErrorString and add tests

This commit is contained in:
Sean Purcell committed 2017-02-08 17:28:49 -08:00
1 parent 60259eb9a0
commit e0b3265e87
2 files changed
+11 -1

No files matched your search

+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); }
/*=**************************************************************