We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 63bf518 commit 75bd00aCopy full SHA for 75bd00a
chafa/internal/smolscale/smolscale.c
@@ -858,7 +858,7 @@ find_repacks (const SmolImplementation **implementations,
858
do_reorder (mid_order, dest_order,
859
reorder_meta [SMOL_REPACK_SIGNATURE_GET_REORDER (dest_meta->signature)].dest);
860
861
- if (*((const uint32_t *) dest_order) == *((const uint32_t *) dest_pmeta->order))
+ if (!memcmp (&dest_order, &dest_pmeta->order, sizeof (dest_order)))
862
{
863
/* Success */
864
goto out;
0 commit comments