summaryrefslogtreecommitdiffstats
path: root/examples/simple_buffer.c
diff options
context:
space:
mode:
authorQi Wang <wangqi@linux.alibaba.com>2022-06-05 08:21:26 (GMT)
committerQi Wang <wangqi@linux.alibaba.com>2022-06-06 02:29:37 (GMT)
commit51be2943b3d1aef5d1a962ff247ee5309864f830 (patch)
treeaa189001d08a88a30971eafc176a24f222bbb27a /examples/simple_buffer.c
parent97d60acd89addfea059e91dec132f283c699c4b6 (diff)
downloadlz4-51be2943b3d1aef5d1a962ff247ee5309864f830.zip
lz4-51be2943b3d1aef5d1a962ff247ee5309864f830.tar.gz
lz4-51be2943b3d1aef5d1a962ff247ee5309864f830.tar.bz2
docs: fix some typo
Signed-off-by: Qi Wang <wangqi@linux.alibaba.com>
Diffstat (limited to 'examples/simple_buffer.c')
-rw-r--r--examples/simple_buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/simple_buffer.c b/examples/simple_buffer.c
index c7d59e3..f5c6eb2 100644
--- a/examples/simple_buffer.c
+++ b/examples/simple_buffer.c
@@ -47,7 +47,7 @@ int main(void) {
char* compressed_data = (char*)malloc((size_t)max_dst_size);
if (compressed_data == NULL)
run_screaming("Failed to allocate memory for *compressed_data.", 1);
- // That's all the information and preparation LZ4 needs to compress *src into *compressed_data.
+ // That's all the information and preparation LZ4 needs to compress *src into* compressed_data.
// Invoke LZ4_compress_default now with our size values and pointers to our memory locations.
// Save the return value for error checking.
const int compressed_data_size = LZ4_compress_default(src, compressed_data, src_size, max_dst_size);