fix 32bit linux build
Change-Id: Ib42627c04b2c06e34f2dd108f8a04eaea916488a
This commit is contained in:
parent
a779d979b9
commit
411e7e8803
1 changed files with 3 additions and 3 deletions
|
@ -1734,7 +1734,7 @@ namespace osl_FileStatus
|
|||
test_Attributes &= rFileStatus.getAttributes();
|
||||
|
||||
CPPUNIT_ASSERT_EQUAL_MESSAGE( "test for getAttributes function: Hidden files( Solaris version )",
|
||||
osl_File_Attribute_Hidden, test_Attributes );
|
||||
static_cast<sal_Int32>(osl_File_Attribute_Hidden), test_Attributes );
|
||||
}
|
||||
#else //Windows version
|
||||
void getAttributes_004()
|
||||
|
@ -2608,14 +2608,14 @@ namespace osl_File
|
|||
nError1 = testFile.setPos( osl_Pos_Current, 1 );
|
||||
CPPUNIT_ASSERT_EQUAL( nError1, ::osl::FileBase::E_None );
|
||||
}
|
||||
nError1 = testFile.getPos( nFilePointer );
|
||||
nError1 = testFile.getPos( nFilePointer );
|
||||
CPPUNIT_ASSERT_EQUAL( nError1, ::osl::FileBase::E_None );
|
||||
|
||||
nError1 = testFile.close();
|
||||
CPPUNIT_ASSERT_EQUAL( nError1, ::osl::FileBase::E_None );
|
||||
|
||||
CPPUNIT_ASSERT_EQUAL_MESSAGE( "test for isEndOfFile function: use isEndOfFile to move pointer step by step",
|
||||
nFilePointer, sizeof( pBuffer_Char ) + 1 );
|
||||
nFilePointer, static_cast<sal_uInt64>(sizeof( pBuffer_Char ) + 1) );
|
||||
}
|
||||
CPPUNIT_TEST_SUITE( isEndOfFile );
|
||||
CPPUNIT_TEST( isEndOfFile_001 );
|
||||
|
|
Loading…
Reference in a new issue