From 402235a6b56876af33fe38e60504a4c6642239e6 Mon Sep 17 00:00:00 2001 From: Ryan Schmidt Date: Sun, 5 Jul 2020 09:51:24 -0500 Subject: [PATCH] Fix parameter type in ivec_align_buffer prototype This changes the prototype of ivec_align_buffer to match its implementation in DevIL/src-IL/src/il_alloc.cpp thereby fixing a conflicting types error seen at least on PowerPC Macs. Thanks to @raphael-st for this fix. --- DevIL/include/IL/devil_internal_exports.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DevIL/include/IL/devil_internal_exports.h b/DevIL/include/IL/devil_internal_exports.h index fd07d062..aa5d0074 100644 --- a/DevIL/include/IL/devil_internal_exports.h +++ b/DevIL/include/IL/devil_internal_exports.h @@ -95,7 +95,7 @@ ILAPI void* ILAPIENTRY ialloc(const ILsizei Size); ILAPI void ILAPIENTRY ifree(const void *Ptr); ILAPI void* ILAPIENTRY icalloc(const ILsizei Size, const ILsizei Num); #ifdef ALTIVEC_GCC -ILAPI void* ILAPIENTRY ivec_align_buffer(void *buffer, const ILuint size); +ILAPI void* ILAPIENTRY ivec_align_buffer(void *buffer, const ILsizei size); #endif // Internal library functions in IL