gcc3_linux_powerpc64 bridges: assert -> static_assert to fix build

Change-Id: I9cd345de6895b38fc766b0fe16e218a146bfb7b9
This commit is contained in:
Rene Engelhard
2014-11-23 19:29:09 +01:00
parent 1e37a55195
commit 43c59ee45f

View File

@@ -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;