return 1;
};
int rc = EXIT_FAILURE;
- uint8_t *bufIn = NULL;
- uint8_t *bufOut = NULL;
+ char *bufIn = NULL;
+ char *bufOut = NULL;
const size_t bufInSize = ZSTD_DStreamInSize();
bufIn = malloc(bufInSize);
if (bufIn == NULL) {
if (n >= 8 && le32dec(bufIn) == 0x184D2A5D) {
// dictionary frame
size_t dictSize = (size_t)le32dec(bufIn + 4);
- uint8_t *dict = malloc(dictSize);
+ char *dict = malloc(dictSize);
if (dict == NULL) {
fprintf(stderr, "insufficient memory for dictionary: %zu\n", dictSize);
goto Exit;
free(dict);
goto Exit;
};
- uint8_t *buf = malloc(bufSize);
+ char *buf = malloc(bufSize);
if (buf == NULL) {
fprintf(
stderr, "insufficient memory for dictionary: %llu\n", bufSize);