mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-26 05:56:14 +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. */
|
/* src1 or src2 is zero. */
|
||||||
dest->nlimbs = 0;
|
dest->nlimbs = 0;
|
||||||
dest->limbs = (mp_limb_t *) malloc (1);
|
dest->limbs = (mp_limb_t *) malloc (sizeof (mp_limb_t));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user