diff options
Diffstat (limited to 'Alc/helpers.c')
-rw-r--r-- | Alc/helpers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/helpers.c b/Alc/helpers.c index 357824f8..6cb28e3d 100644 --- a/Alc/helpers.c +++ b/Alc/helpers.c @@ -240,7 +240,7 @@ void *al_malloc(size_t alignment, size_t size) if(ret != NULL) { *(ret++) = 0x00; - while(((ALintptrEXT)ret&(alignment-1)) != 0) + while(((ptrdiff_t)ret&(alignment-1)) != 0) *(ret++) = 0x55; } return ret; |