gcc3_linux_powerpc64 bridges: assert -> static_assert to fix build
Change-Id: I9cd345de6895b38fc766b0fe16e218a146bfb7b9
This commit is contained in:
@@ -92,7 +92,7 @@ static typelib_TypeClass cpp2uno_call(
|
||||
ng++;
|
||||
|
||||
// stack space
|
||||
assert(sizeof(void *) == sizeof(sal_Int64), "### unexpected size!");
|
||||
static_assert(sizeof(void *) == sizeof(sal_Int64), "### unexpected size!");
|
||||
// parameters
|
||||
void ** pUnoArgs = (void **)alloca( 4 * sizeof(void *) * nParams );
|
||||
void ** pCppArgs = pUnoArgs + nParams;
|
||||
|
Reference in New Issue
Block a user