Spelling fixes for lib/compression.
[sfrench/samba-autobuild/.git] / lib / compression / lzxpress.c
index 0abbfc4d3d5d22b21fc1260a24b461c3f527f215..26b1bd5052df7e4a99a921f9979c9c54e8002961 100644 (file)
@@ -155,7 +155,7 @@ ssize_t lzxpress_compress(const uint8_t *uncompressed,
                                                compressed[nibble_index] |= (15 * 16);
                                        }
 
                                                compressed[nibble_index] |= (15 * 16);
                                        }
 
-                                       /* Additionnal best_len */
+                                       /* Additional best_len */
                                        compressed[compressed_pos + metadata_size] = (best_len - (3 + 7 + 15)) & 0xFF;
                                        metadata_size += sizeof(uint8_t);
                                } else {
                                        compressed[compressed_pos + metadata_size] = (best_len - (3 + 7 + 15)) & 0xFF;
                                        metadata_size += sizeof(uint8_t);
                                } else {
@@ -167,7 +167,7 @@ ssize_t lzxpress_compress(const uint8_t *uncompressed,
                                                compressed[nibble_index] |= 15 << 4;
                                        }
 
                                                compressed[nibble_index] |= 15 << 4;
                                        }
 
-                                       /* Additionnal best_len */
+                                       /* Additional best_len */
                                        compressed[compressed_pos + metadata_size] = 255;
 
                                        metadata_size += sizeof(uint8_t);
                                        compressed[compressed_pos + metadata_size] = 255;
 
                                        metadata_size += sizeof(uint8_t);