]> Sergey Matveev's repositories - tofuproxy.git/blobdiff - cmd/zstd/enzstd.c
uint8_t -> char
[tofuproxy.git] / cmd / zstd / enzstd.c
index c393f777230b430a84fb10a9c29a55cc7e516043..1c66962dd9bc41edeecf3b0bf9806305b4aba9cf 100644 (file)
@@ -50,13 +50,13 @@ main(int argc, char **argv)
 
     int rc         = EXIT_FAILURE;
     size_t srcSize = 8;
-    uint8_t *src   = malloc(srcSize);
+    char *src      = malloc(srcSize);
     if (src == NULL) {
         fprintf(stderr, "can not allocate memory: %zu\n", srcSize);
         goto Exit;
     };
     size_t dstSize     = 0;
-    uint8_t *dst       = NULL;
+    char *dst          = NULL;
     size_t srcWantSize = 0;
     size_t dstWantSize = 0;
     size_t n           = 0;