Fix a warning on MinGW64.
This commit is contained in:
parent
af62ef2f1f
commit
99378e63a9
@ -145,8 +145,8 @@ mp_limb_t (*calling_conventions_function) _PROTO ((ANYARGS));
|
|||||||
void *
|
void *
|
||||||
align_pointer (void *p, size_t align)
|
align_pointer (void *p, size_t align)
|
||||||
{
|
{
|
||||||
unsigned long d;
|
mpir_ui d;
|
||||||
d = ((unsigned long) p) & (align-1);
|
d = ((mpir_ui) p) & (align-1);
|
||||||
d = (d != 0 ? align-d : 0);
|
d = (d != 0 ? align-d : 0);
|
||||||
return (void *) (((char *) p) + d);
|
return (void *) (((char *) p) + d);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user