- attempt to fix compiler warning about insufficient buffer size
This commit is contained in:
parent
95f50d5b43
commit
89de7a7db9
|
|
@ -427,7 +427,7 @@ std::string NetworkAddress::ip() const
|
||||||
{
|
{
|
||||||
assert(mInitialized == true);
|
assert(mInitialized == true);
|
||||||
|
|
||||||
char resultbuf[131], ip6[128]; resultbuf[0] = 0;
|
char resultbuf[160], ip6[160]; resultbuf[0] = 0;
|
||||||
|
|
||||||
#ifdef TARGET_WIN
|
#ifdef TARGET_WIN
|
||||||
DWORD resultsize = sizeof(resultbuf);
|
DWORD resultsize = sizeof(resultbuf);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue