Kaydet (Commit) 43c59ee4 authored tarafından Rene Engelhard's avatar Rene Engelhard

gcc3_linux_powerpc64 bridges: assert -> static_assert to fix build

Change-Id: I9cd345de6895b38fc766b0fe16e218a146bfb7b9
üst 1e37a551
...@@ -92,7 +92,7 @@ static typelib_TypeClass cpp2uno_call( ...@@ -92,7 +92,7 @@ static typelib_TypeClass cpp2uno_call(
ng++; ng++;
// stack space // stack space
assert(sizeof(void *) == sizeof(sal_Int64), "### unexpected size!"); static_assert(sizeof(void *) == sizeof(sal_Int64), "### unexpected size!");
// parameters // parameters
void ** pUnoArgs = (void **)alloca( 4 * sizeof(void *) * nParams ); void ** pUnoArgs = (void **)alloca( 4 * sizeof(void *) * nParams );
void ** pCppArgs = pUnoArgs + nParams; void ** pCppArgs = pUnoArgs + nParams;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment