Skip to content

Commit

Permalink
bridges: mips64: Fix build failure in new codes.
Browse files Browse the repository at this point in the history
Change-Id: I17fe0fb0ce9341a638b2687e7690777a8de7fa01
Reviewed-on: https://gerrit.libreoffice.org/16980
Reviewed-by: Caolán McNamara <[email protected]>
Tested-by: Caolán McNamara <[email protected]>
  • Loading branch information
heiher authored and Caolán McNamara committed Jul 13, 2015
1 parent 755b932 commit 1f99f4a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bridges/source/cpp_uno/gcc3_linux_mips64/cpp2uno.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ namespace

unsigned char * codeSnippet( unsigned char * code,
sal_Int32 functionIndex, sal_Int32 vtableOffset,
bool bHasHiddenParam) SAL_THROW(())
bool bHasHiddenParam )
{
#ifdef BRDEBUG
fprintf(stderr,"in codeSnippet functionIndex is %d\n", functionIndex);
Expand Down
4 changes: 2 additions & 2 deletions bridges/source/cpp_uno/gcc3_linux_mips64/uno2cpp.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ namespace
sal_uInt32 nREG)
{
// Should not happen, but...
static_assert( MAX_GP_REGS == MAX_FP_REGS );
static_assert(MAX_GP_REGS == MAX_FP_REGS, "must be the same size");
if ( nREG > MAX_GP_REGS )
nREG = MAX_GP_REGS;

Expand Down Expand Up @@ -266,7 +266,7 @@ namespace
// return
typelib_TypeDescription * pReturnTypeDescr = 0;
TYPELIB_DANGER_GET( &pReturnTypeDescr, pReturnTypeRef );
assert( pReturnTypeDescr, "### expected return type description!" );
assert(pReturnTypeDescr);

void * pCppReturn = 0; // if != 0 && != pUnoReturn, needs reconversion

Expand Down

0 comments on commit 1f99f4a

Please sign in to comment.