summaryrefslogtreecommitdiff
path: root/bridges
diff options
context:
space:
mode:
authorRene Engelhard <rene@debian.org>2014-11-23 19:29:09 +0100
committerMichael Stahl <mstahl@redhat.com>2014-11-25 12:38:53 +0100
commit847ac84d64cbbebe50d4ac5c21f5bda9e83d7fa4 (patch)
tree7d71fb260bd3aca902b851864904b6fca7e20e00 /bridges
parent1112b24bd8e7dfbd1731ea0ea2f9b082dd6a7cf6 (diff)
gcc3_linux_powerpc64 bridges: assert -> static_assert to fix build
Change-Id: I9cd345de6895b38fc766b0fe16e218a146bfb7b9 (cherry picked from commit 43c59ee45f4a8303021d8ae22ea42a7238170f47)
Diffstat (limited to 'bridges')
-rw-r--r--bridges/source/cpp_uno/gcc3_linux_powerpc64/cpp2uno.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/bridges/source/cpp_uno/gcc3_linux_powerpc64/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_powerpc64/cpp2uno.cxx
index f982a938f0b6..f2e5174a1929 100644
--- a/bridges/source/cpp_uno/gcc3_linux_powerpc64/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_powerpc64/cpp2uno.cxx
@@ -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;