]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 27 Oct 1999 13:10:40 +0000 (13:10 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 27 Oct 1999 13:10:40 +0000 (13:10 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/unix/gsocket.c

index 74121ebb4ef476be2712d30e655067ea24d80b8f..8b8b05b97386476f3d7c822ad1ee946d6378f113 100644 (file)
@@ -1075,7 +1075,7 @@ GSocketError _GAddress_translate_to(GAddress *address,
 GSocketError _GAddress_Init_INET(GAddress *address)
 {
   address->m_len  = sizeof(struct sockaddr_in);
-  address->m_addr = (struct sockaddr *)malloc(address->m_len));
+  address->m_addr = (struct sockaddr *)malloc(address->m_len);
   if (address->m_addr == NULL)
   {
     address->m_error = GSOCK_MEMERR;