X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=include%2Fwimlib%2Fchunk_compressor.h;h=f21a0c6a7bd9fcf5d7e755a94223291cd4db3557;hb=894f8dab7f174bf289e6b5e9ea54374d10d6e62f;hp=b902038a393b2556b07a80f1836a5d8dbd3a9a29;hpb=f675c45459508d058aeda4869e2928be4b7ffd99;p=wimlib diff --git a/include/wimlib/chunk_compressor.h b/include/wimlib/chunk_compressor.h index b902038a..f21a0c6a 100644 --- a/include/wimlib/chunk_compressor.h +++ b/include/wimlib/chunk_compressor.h @@ -7,7 +7,7 @@ #ifndef _WIMLIB_CHUNK_COMPRESSOR_H #define _WIMLIB_CHUNK_COMPRESSOR_H -#include +#include "wimlib/types.h" /* Interface for chunk compression. Users can submit chunks of data to be * compressed, then retrieve them later in order. This interface can be @@ -32,7 +32,7 @@ struct chunk_compressor { * %false if the chunk compressor does not have space for the chunk at * the present time. In the latter case, get_chunk() must be called to * retrieve a compressed chunk before trying again. */ - bool (*submit_chunk)(struct chunk_compressor *, const void *, size_t); + bool (*submit_chunk)(struct chunk_compressor *, const void *, u32); /* Get the next chunk of compressed data. *