Description: fix transposed calloc args
Author: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy@users.sourceforge.net>

Index: libcss/src/select/select.c
===================================================================
--- libcss.orig/src/select/select.c	2025-01-09 06:53:13.082587500 +0100
+++ libcss/src/select/select.c	2025-01-09 06:53:13.078587553 +0100
@@ -138,7 +138,7 @@
 {
 	struct css_node_data *nd;
 
-	nd = calloc(sizeof(struct css_node_data), 1);
+	nd = calloc(1, sizeof(struct css_node_data));
 	if (nd == NULL) {
 		return CSS_NOMEM;
 	}
@@ -234,7 +234,7 @@
 	if (result == NULL)
 		return CSS_BADPARM;
 
-	c = calloc(sizeof(css_select_ctx), 1);
+	c = calloc(1, sizeof(css_select_ctx));
 	if (c == NULL)
 		return CSS_NOMEM;
 
@@ -613,7 +613,7 @@
 	*node_bloom = NULL;
 
 	/* Create the node's bloom */
-	bloom = calloc(sizeof(css_bloom), CSS_BLOOM_SIZE);
+	bloom = calloc(CSS_BLOOM_SIZE, sizeof(css_bloom));
 	if (bloom == NULL) {
 		return CSS_NOMEM;
 	}
Index: libcss/src/select/computed.c
===================================================================
--- libcss.orig/src/select/computed.c	2025-01-09 06:53:13.082587500 +0100
+++ libcss/src/select/computed.c	2025-01-09 06:53:32.182337387 +0100
@@ -73,7 +73,7 @@
 	if (result == NULL)
 		return CSS_BADPARM;
 
-	s = calloc(sizeof(css_computed_style), 1);
+	s = calloc(1, sizeof(css_computed_style));
 	if (s == NULL)
 		return CSS_NOMEM;
 
