mirror of
https://github.com/EQEmu/Server.git
synced 2026-12-01 04:02:17 +00:00
Use casts to silence ASan complaints
I don't think these are actually causing any real problems, ASan complains about them though since it's kind of a code smell I guess and a potential source of problems. But our case is fine, so cast to silence them.
This commit is contained in:
1 parent
66f89416d5
commit
cafae9d8c6
3 files changed
+4
-4
No files matched your search
@@ -51,7 +51,7 @@ namespace EQ {
|
||||
void Stop() {
|
||||
if (m_timer) {
|
||||
uv_close((uv_handle_t*)m_timer, [](uv_handle_t* handle) {
|
||||
delete handle;
|
||||
delete (uv_timer_t *)handle;
|
||||
});
|
||||
m_timer = nullptr;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user