* lib/gc-libgcrypt.c (gc_hash_open, gc_hash_clone): Swap the arguments
to calloc().
+2025-05-04 Collin Funk <collin.funk1@gmail.com>
+
+ crypto/gc: Silence some -Wcalloc-transposed-args warnings, part 2.
+ * lib/gc-libgcrypt.c (gc_hash_open, gc_hash_clone): Swap the arguments
+ to calloc().
+
2025-05-04 Bruno Haible <bruno@clisp.org>
getlocalename_l-unsafe: Improve support for Solaris 11 OpenIndiana.
gcry_error_t err;
Gc_rc rc = GC_OK;
- ctx = calloc (sizeof (*ctx), 1);
+ ctx = calloc (1, sizeof (*ctx));
if (!ctx)
return GC_MALLOC_ERROR;
_gc_hash_ctx *out;
int err;
- *outhandle = out = calloc (sizeof (*out), 1);
+ *outhandle = out = calloc (1, sizeof (*out));
if (!out)
return GC_MALLOC_ERROR;