From: Yann Collet Date: Sat, 30 Sep 2017 18:08:50 +0000 (-0700) Subject: fix proper naming on FSE_createCTable() arguments in fse.h X-Git-Tag: v1.3.2~3^2~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee1ed78fcb3d53182c944940e16e697c94087a8b;p=thirdparty%2Fzstd.git fix proper naming on FSE_createCTable() arguments in fse.h --- diff --git a/lib/common/fse.h b/lib/common/fse.h index 1c44f8375..afd780196 100644 --- a/lib/common/fse.h +++ b/lib/common/fse.h @@ -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():