summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorDimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com>2021-11-25 14:26:14 (GMT)
committerDimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com>2021-11-25 14:32:37 (GMT)
commit4bdfb08b95ede33d41ad4c722f039b957c0dc612 (patch)
tree1d0f5726d23b0f868637ef3023ed7fccc9b2eab0 /examples
parentdb57809cf189feb2dd690d55abc2884c95c6fc00 (diff)
downloadlz4-4bdfb08b95ede33d41ad4c722f039b957c0dc612.zip
lz4-4bdfb08b95ede33d41ad4c722f039b957c0dc612.tar.gz
lz4-4bdfb08b95ede33d41ad4c722f039b957c0dc612.tar.bz2
Fix typos found by codespell
Diffstat (limited to 'examples')
-rw-r--r--examples/compress_functions.c2
-rw-r--r--examples/dictionaryRandomAccess.md2
-rw-r--r--examples/frameCompress.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/examples/compress_functions.c b/examples/compress_functions.c
index 7fd6775..e27c612 100644
--- a/examples/compress_functions.c
+++ b/examples/compress_functions.c
@@ -35,7 +35,7 @@
*
* LZ4_decompress_safe
* This is the recommended function for decompressing data. It is considered safe because the caller specifies
- * both the size of the compresssed buffer to read as well as the maximum size of the output (decompressed) buffer
+ * both the size of the compressed buffer to read as well as the maximum size of the output (decompressed) buffer
* instead of just the latter.
* LZ4_decompress_fast
* Again, despite its name it's not a "fast" version of decompression. It simply frees the caller of sending the
diff --git a/examples/dictionaryRandomAccess.md b/examples/dictionaryRandomAccess.md
index 53d825d..fb1fade 100644
--- a/examples/dictionaryRandomAccess.md
+++ b/examples/dictionaryRandomAccess.md
@@ -7,7 +7,7 @@ Please note that the output file is not compatible with lz4frame and is platform
## What's the point of this example ?
- - Dictionary based compression for homogenous files.
+ - Dictionary based compression for homogeneous files.
- Random access to compressed blocks.
diff --git a/examples/frameCompress.c b/examples/frameCompress.c
index 4a88b50..9eaa4da 100644
--- a/examples/frameCompress.c
+++ b/examples/frameCompress.c
@@ -139,7 +139,7 @@ compress_file(FILE* f_in, FILE* f_out)
src, IN_CHUNK_SIZE,
outbuff, outbufCapacity);
} else {
- printf("error : ressource allocation failed \n");
+ printf("error : resource allocation failed \n");
}
LZ4F_freeCompressionContext(ctx); /* supports free on NULL */