Fix some issues found by cppcheck.
This commit is contained in:
@ -109,7 +109,7 @@ struct _IP_ResolverPrivate {
|
||||
}
|
||||
|
||||
static void _thread_function(void *self) {
|
||||
_IP_ResolverPrivate *ipr = (_IP_ResolverPrivate *)self;
|
||||
_IP_ResolverPrivate *ipr = static_cast<_IP_ResolverPrivate *>(self);
|
||||
|
||||
while (!ipr->thread_abort) {
|
||||
ipr->sem.wait();
|
||||
|
||||
Reference in New Issue
Block a user