Skip to content

Commit

Permalink
mingw32: Fix "zero as null pointer constant" warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxdude42 committed Jan 11, 2022
1 parent 1203073 commit ba5a983
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/libs/libmythupnp/msocketdevice_win.cpp
Expand Up @@ -903,7 +903,7 @@ qint64 MSocketDevice::bytesAvailable() const
{
char c;

if (::recvfrom(m_fd, &c, sizeof(c), MSG_PEEK, 0, 0) == SOCKET_ERROR)
if (::recvfrom(m_fd, &c, sizeof(c), MSG_PEEK, nullptr, nullptr) == SOCKET_ERROR)
return 0;
}

Expand Down

0 comments on commit ba5a983

Please sign in to comment.