mirror of
https://github.com/aria2/aria2.git
synced 2025-04-04 21:17:41 +03:00
Replaced gid_t with a2_gid_t cause gid_t is commonly used as group ID.
This commit is contained in:
parent
09c120da9b
commit
6e818a06dc
10 changed files with 62 additions and 62 deletions
|
@ -713,7 +713,7 @@ void RpcMethodTest::testGetVersion()
|
|||
void RpcMethodTest::testGatherStoppedDownload()
|
||||
{
|
||||
std::vector<SharedHandle<FileEntry> > fileEntries;
|
||||
std::vector<gid_t> followedBy;
|
||||
std::vector<a2_gid_t> followedBy;
|
||||
followedBy.push_back(3);
|
||||
followedBy.push_back(4);
|
||||
SharedHandle<DownloadResult> d(new DownloadResult());
|
||||
|
@ -853,7 +853,7 @@ void RpcMethodTest::testChangePosition()
|
|||
CPPUNIT_ASSERT_EQUAL(0, res.code);
|
||||
CPPUNIT_ASSERT_EQUAL((int64_t)1, asInteger(res.param)->i());
|
||||
CPPUNIT_ASSERT_EQUAL
|
||||
((gid_t)1, e_->getRequestGroupMan()->getReservedGroups()[1]->getGID());
|
||||
((a2_gid_t)1, e_->getRequestGroupMan()->getReservedGroups()[1]->getGID());
|
||||
}
|
||||
|
||||
void RpcMethodTest::testChangePosition_fail()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue