You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2025-01-13T01:16:10.2362063Z poll_kqueue.cc: In member function 'void torrent::PollKQueue::modify(torrent::Event*, short unsigned int, short int)':
2025-01-13T01:16:10.2363254Z poll_kqueue.cc:77:3: error: invalid static_cast from type 'torrent::Event*' to type 'intptr_t {aka long int}'
2025-01-13T01:16:10.2364136Z EV_SET(itr, event->file_descriptor(), mask, op, 0, 0, event);
2025-01-13T01:16:10.2364630Z ^
2025-01-13T01:16:10.2399233Z poll_kqueue.cc: In member function 'virtual void torrent::PollKQueue::close(torrent::Event*)':
2025-01-13T01:16:10.2400339Z poll_kqueue.cc:278:23: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
2025-01-13T01:16:10.2401077Z if (itr->udata == event)
2025-01-13T01:16:10.2401856Z ^~~~~
2025-01-13T01:16:10.2402565Z poll_kqueue.cc:279:20: warning: converting to non-pointer type 'long int' from NULL [-Wconversion-null]
2025-01-13T01:16:10.2403498Z itr->udata = NULL;
2025-01-13T01:16:10.2403852Z ^~~~
2025-01-13T01:16:10.2404233Z poll_kqueue.cc: In lambda function:
2025-01-13T01:16:10.2404715Z poll_kqueue.cc:282:90: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
2025-01-13T01:16:10.2405562Z [event](const struct kevent& ke) { return ke.udata == event; }) - m_changes;
2025-01-13T01:16:10.2406027Z ^~~~~
2025-01-13T01:16:10.2412155Z poll_kqueue.cc: In member function 'virtual void torrent::PollKQueue::closed(torrent::Event*)':
2025-01-13T01:16:10.2413209Z poll_kqueue.cc:304:23: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
2025-01-13T01:16:10.2413914Z if (itr->udata == event)
2025-01-13T01:16:10.2414258Z ^~~~~
2025-01-13T01:16:10.2414911Z poll_kqueue.cc:305:20: warning: converting to non-pointer type 'long int' from NULL [-Wconversion-null]
2025-01-13T01:16:10.2415789Z itr->udata = NULL;
2025-01-13T01:16:10.2416108Z ^~~~
2025-01-13T01:16:10.2416439Z poll_kqueue.cc: In lambda function:
2025-01-13T01:16:10.2417087Z poll_kqueue.cc:308:90: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
2025-01-13T01:16:10.2417926Z [event](const struct kevent& ke) { return ke.udata == event; }) - m_changes;
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: