mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
vsaprintf: Use proper size for mp_limb_t to please msys2-mingw32 CI
This commit is contained in:
parent
86dd02f487
commit
cbc5808545
@ -379,7 +379,7 @@ multiply (mpn_t src1, mpn_t src2, mpn_t *dest)
|
||||
{
|
||||
/* src1 or src2 is zero. */
|
||||
dest->nlimbs = 0;
|
||||
dest->limbs = (mp_limb_t *) malloc (1);
|
||||
dest->limbs = (mp_limb_t *) malloc (sizeof (mp_limb_t));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user