mirror of
https://review.haiku-os.org/haiku
synced 2024-11-23 07:18:40 +01:00
Support Kit: Add ZSTD_error_memory_allocation to _TranslateZstdError.
This commit is contained in:
parent
fbc0153a97
commit
b3731f13ab
@ -424,6 +424,8 @@ BZstdCompressionAlgorithm::_TranslateZstdError(size_t error)
|
||||
return B_BAD_DATA;
|
||||
case ZSTD_error_version_unsupported:
|
||||
return B_BAD_VALUE;
|
||||
case ZSTD_error_memory_allocation:
|
||||
return B_NO_MEMORY;
|
||||
case ZSTD_error_dstSize_tooSmall:
|
||||
return B_BUFFER_OVERFLOW;
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user