Commit 34dcdd3f authored by Anjo Vahldiek's avatar Anjo Vahldiek
Browse files

remove compile warnings

parent 820edd8f
......@@ -30,10 +30,12 @@ lock_client::stat(lock_protocol::lockid_t lid)
lock_protocol::status
lock_client::acquire(lock_protocol::lockid_t lid)
{
return lock_protocol::RPCERR;
}
lock_protocol::status
lock_client::release(lock_protocol::lockid_t lid)
{
return lock_protocol::RPCERR;
}
......@@ -412,7 +412,7 @@ rpcs::updatestat(unsigned int proc)
if (clt->second.size() > maxrep)
maxrep = clt->second.size();
}
jsl_log(JSL_DBG_1, "REPLY WINDOW: clients %d total reply %d max per client %d\n",
jsl_log(JSL_DBG_1, "REPLY WINDOW: clients %ld total reply %d max per client %d\n",
reply_window_.size(), totalrep, maxrep);
curr_counts_ = counting_;
}
......
......@@ -359,7 +359,7 @@ concurrent_test(int nt)
printf("start concurrent_test (%d threads) ...", nt);
pthread_t th[nt];
for(int i = 0; i < nt; i++){
for(long int i = 0; i < nt; i++){
ret = pthread_create(&th[i], &attr, client1, (void *) i);
assert(ret == 0);
}
......@@ -378,7 +378,7 @@ garbage_collection_test(int nt)
printf("start garbage_collection_test ...");
pthread_t th[nt];
for(int i = 0; i < nt; i++){
for(long int i = 0; i < nt; i++){
ret = pthread_create(&th[i], &attr, client4, (void *) i);
assert(ret == 0);
}
......@@ -411,7 +411,7 @@ lossy_test()
int nt = 1;
pthread_t th[nt];
for(int i = 0; i < nt; i++){
for(long int i = 0; i < nt; i++){
ret = pthread_create(&th[i], &attr, client2, (void *) i);
assert(ret == 0);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment