mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-23 10:42:11 +01:00
vsaprintf: Use proper size for mp_limb_t to please msys2-mingw32 CI
This commit is contained in:
parent
adb57fb40f
commit
2f35c32c34
@ -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…
x
Reference in New Issue
Block a user