diff --git a/src/DebugServers/GdbRsp/Connection.cpp b/src/DebugServers/GdbRsp/Connection.cpp index 0465ba61..4eb6ccfb 100644 --- a/src/DebugServers/GdbRsp/Connection.cpp +++ b/src/DebugServers/GdbRsp/Connection.cpp @@ -24,8 +24,8 @@ namespace Bloom::DebugServers::Gdb this->socketFileDescriptor = ::accept( serverSocketFileDescriptor, - (sockaddr*) &(this->socketAddress), - (socklen_t*) &socketAddressLength + reinterpret_cast(&(this->socketAddress)), + reinterpret_cast(&socketAddressLength) ); if (this->socketFileDescriptor == -1) { @@ -35,7 +35,7 @@ namespace Bloom::DebugServers::Gdb ::fcntl( this->socketFileDescriptor, F_SETFL, - fcntl(this->socketFileDescriptor, F_GETFL, 0) | O_NONBLOCK + ::fcntl(this->socketFileDescriptor, F_GETFL, 0) | O_NONBLOCK ); this->epollInstance.addEntry(this->socketFileDescriptor, static_cast(EpollEvent::READ_READY));