mirror of
https://github.com/ceph/ceph
synced 2025-01-18 17:12:29 +00:00
Merge pull request #2930 from dachary/wip-warning
tests: fix cast compilation warning
This commit is contained in:
commit
d957fbdb74
@ -197,7 +197,7 @@ TEST_P(EventDriverTest, NetworkSocketTest) {
|
||||
|
||||
fired_events.clear();
|
||||
pthread_t thread1;
|
||||
r = pthread_create(&thread1, NULL, echoclient, (void*)port);
|
||||
r = pthread_create(&thread1, NULL, echoclient, (void*)(intptr_t)port);
|
||||
ASSERT_EQ(r, 0);
|
||||
tv.tv_sec = 5;
|
||||
tv.tv_usec = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user