]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
fix proper naming on FSE_createCTable() arguments in fse.h
authorYann Collet <cyan@fb.com>
Sat, 30 Sep 2017 18:08:50 +0000 (11:08 -0700)
committerYann Collet <cyan@fb.com>
Sat, 30 Sep 2017 18:08:50 +0000 (11:08 -0700)
lib/common/fse.h

index 1c44f8375078350bcb5c4b3be307baf9d89ca615..afd78019635a6533bf7e7854c24f8c83b43a7235 100644 (file)
@@ -184,7 +184,7 @@ FSE_PUBLIC_API size_t FSE_writeNCount (void* buffer, size_t bufferSize, const sh
 /*! Constructor and Destructor of FSE_CTable.
     Note that FSE_CTable size depends on 'tableLog' and 'maxSymbolValue' */
 typedef unsigned FSE_CTable;   /* don't allocate that. It's only meant to be more restrictive than void* */
-FSE_PUBLIC_API FSE_CTable* FSE_createCTable (unsigned tableLog, unsigned maxSymbolValue);
+FSE_PUBLIC_API FSE_CTable* FSE_createCTable (unsigned maxSymbolValue, unsigned tableLog);
 FSE_PUBLIC_API void        FSE_freeCTable (FSE_CTable* ct);
 
 /*! FSE_buildCTable():