aboutsummaryrefslogtreecommitdiff
path: root/src/pq
diff options
context:
space:
mode:
authorÖzgür Kesim <oec-taler@kesim.org>2023-11-27 15:38:41 +0100
committerÖzgür Kesim <oec-taler@kesim.org>2023-11-27 15:38:41 +0100
commitfd2f18d4fbf8b84eb9444972b1660bb7712d192e (patch)
tree9818ecd544a8563482d1ed906764a56e65aa184a /src/pq
parenta699f01ab2ce41d0215a02ed34ef059b9152471a (diff)
-fix size comparison
Diffstat (limited to 'src/pq')
-rw-r--r--src/pq/pq_result_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pq/pq_result_helper.c b/src/pq/pq_result_helper.c
index 9acf80716..9bd3fdb49 100644
--- a/src/pq/pq_result_helper.c
+++ b/src/pq/pq_result_helper.c
@@ -1208,7 +1208,7 @@ extract_array_generic (
in += sizeof(val);
/* total size for this array-entry */
- FAIL_IF (sizeof(ap) > sz);
+ FAIL_IF (sizeof(ap) != sz);
GNUNET_memcpy (&ap,
in,