处理warning httpclientpool
This commit is contained in:
parent
15ab670d4a
commit
6a5392433c
@ -441,7 +441,7 @@ namespace f8
|
|||||||
|
|
||||||
static void locking_function(int mode, int n, const char *file, int line)
|
static void locking_function(int mode, int n, const char *file, int line)
|
||||||
{
|
{
|
||||||
if (n != f8::HttpClientPool::Instance()->Impl()->mutex_buf_size) {
|
if (n != (int)f8::HttpClientPool::Instance()->Impl()->mutex_buf_size) {
|
||||||
abort();
|
abort();
|
||||||
}
|
}
|
||||||
pthread_mutex_t* mutex = &f8::HttpClientPool::Instance()->Impl()->mutex_buf[n];
|
pthread_mutex_t* mutex = &f8::HttpClientPool::Instance()->Impl()->mutex_buf[n];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user