diff options
author | Stephan Bergmann <stephan.bergmann@allotropia.de> | 2023-12-24 13:12:52 +0100 |
---|---|---|
committer | Stephan Bergmann <stephan.bergmann@allotropia.de> | 2023-12-24 14:16:45 +0100 |
commit | 4663c56edf788a37545f253e028db99e480feb34 (patch) | |
tree | 81e72f76e7f9986b75a7dd13422aaf4e42af0680 /sal/osl | |
parent | 88987316ed0536de6c2c1e407fea4ecf77b5d5fc (diff) |
-Werror=calloc-transposed-args
Change-Id: I7b8b020bdbcd5b4db4cb478cc5fe1225f19ae0cf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161268
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Diffstat (limited to 'sal/osl')
-rw-r--r-- | sal/osl/unx/thread.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/osl/unx/thread.cxx b/sal/osl/unx/thread.cxx index b17f363511c6..3d51f4ab2a33 100644 --- a/sal/osl/unx/thread.cxx +++ b/sal/osl/unx/thread.cxx @@ -624,7 +624,7 @@ static oslThreadIdentifier insertThreadId (pthread_t hThread) if (pEntry == nullptr) { - pEntry = static_cast<HashEntry*>(calloc(sizeof(HashEntry), 1)); + pEntry = static_cast<HashEntry*>(calloc(1, sizeof(HashEntry))); pEntry->Handle = hThread; |