contrib/python-zstandard/zstd/compress/fse_compress.c
changeset 42937 69de49c4e39c
parent 42070 675775c33ab6
--- a/contrib/python-zstandard/zstd/compress/fse_compress.c	Sun Sep 15 00:07:30 2019 -0400
+++ b/contrib/python-zstandard/zstd/compress/fse_compress.c	Sun Sep 15 20:04:00 2019 -0700
@@ -129,9 +129,9 @@
     {   U32 position = 0;
         U32 symbol;
         for (symbol=0; symbol<=maxSymbolValue; symbol++) {
-            int nbOccurences;
+            int nbOccurrences;
             int const freq = normalizedCounter[symbol];
-            for (nbOccurences=0; nbOccurences<freq; nbOccurences++) {
+            for (nbOccurrences=0; nbOccurrences<freq; nbOccurrences++) {
                 tableSymbol[position] = (FSE_FUNCTION_TYPE)symbol;
                 position = (position + step) & tableMask;
                 while (position > highThreshold)