diff options
Diffstat (limited to 'contrib/zstd/cover.c')
-rw-r--r-- | contrib/zstd/cover.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/zstd/cover.c b/contrib/zstd/cover.c index 1863c8f34..0f9622898 100644 --- a/contrib/zstd/cover.c +++ b/contrib/zstd/cover.c @@ -437,7 +437,7 @@ static COVER_segment_t COVER_selectSegment(const COVER_ctx_t *ctx, U32 *freqs, U32 *delDmerOcc = COVER_map_at(activeDmers, delDmer); activeSegment.begin += 1; *delDmerOcc -= 1; - /* If this is the last occurence of the dmer, subtract its score */ + /* If this is the last occurrence of the dmer, subtract its score */ if (*delDmerOcc == 0) { COVER_map_remove(activeDmers, delDmer); activeSegment.score -= freqs[delDmer]; @@ -834,7 +834,7 @@ typedef struct COVER_tryParameters_data_s { } COVER_tryParameters_data_t; /** - * Tries a set of parameters and upates the COVER_best_t with the results. + * Tries a set of parameters and updates the COVER_best_t with the results. * This function is thread safe if zstd is compiled with multithreaded support. * It takes its parameters as an *OWNING* opaque pointer to support threading. */ |