|
@@ -242,7 +242,7 @@ void FileTest::testUtime()
|
|
|
|
|
|
a2_struct_stat buf;
|
|
|
CPPUNIT_ASSERT(0 == a2stat(f.getPath().c_str(), &buf));
|
|
|
- CPPUNIT_ASSERT_EQUAL((time_t)atime, buf.st_atime);
|
|
|
+ CPPUNIT_ASSERT_EQUAL((time_t)atime, (time_t)buf.st_atime);
|
|
|
CPPUNIT_ASSERT_EQUAL((time_t)mtime, f.getModifiedTime().getTime());
|
|
|
|
|
|
File notFound(A2_TEST_OUT_DIR"/aria2_FileTest_testUTime_notFound");
|