diff options
Diffstat (limited to 'sal/rtl')
-rw-r--r-- | sal/rtl/hash.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/rtl/hash.cxx b/sal/rtl/hash.cxx index 7cfc443cb972..4e255d965e17 100644 --- a/sal/rtl/hash.cxx +++ b/sal/rtl/hash.cxx @@ -79,7 +79,7 @@ static StringHashTable * rtl_str_hash_new(sal_uInt32 nSize) pHash->nEntries = 0; pHash->nSize = getNextSize (nSize); - pHash->pData = static_cast< rtl_uString ** >(calloc(sizeof(rtl_uString *), pHash->nSize)); + pHash->pData = static_cast< rtl_uString ** >(calloc(pHash->nSize, sizeof(rtl_uString *))); return pHash; } |