aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/helpers.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-09-04 23:23:48 -0700
committerChris Robinson <[email protected]>2014-09-04 23:23:48 -0700
commit0b250b246d093276e3128b12cdce9ab40e89e229 (patch)
tree4e2509e5e5219b793771bb8567353a3eb60287ba /Alc/helpers.c
parent4b53d0e90cec08b4df06be22a9516f12ac5647f5 (diff)
Use a standard pointer-sized integer type
Diffstat (limited to 'Alc/helpers.c')
-rw-r--r--Alc/helpers.c2
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;