bug-commoncpp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

address@hidden: Bug#173081: patch attached]


From: Mark Purcell
Subject: address@hidden: Bug#173081: patch attached]
Date: Tue, 14 Jan 2003 20:17:02 +1100
User-agent: Mutt/1.4i

Hi David (and others),

I have received this patch from Gerhard Tonn for the problem we had building 
commoncpp2 on a number of different architectures; s390, powerpc, hppa, 
sparc, mips & m68k.

I have included this patch in the Debian GNU/Linux packaged version of 
commoncpp2, but you might also like to include in the upstream source.

Thanks,
Mark

http://bugs.debian.org/src:libcommoncpp2

----- Forwarded message from Gerhard Tonn <address@hidden> -----

From: Gerhard Tonn <address@hidden>
Date: Sun, 12 Jan 2003 13:16:02 +0100
To: address@hidden
X-Mailer: KMail [version 1.1.99]
Subject: Bug#173081: patch attached
Reply-To: Gerhard Tonn <address@hidden>,
        address@hidden

Hi,
attached is a patch that fixes the problem.

Regards,
Gerhard
--- include/cc++/socket.h.bak   2003-01-12 12:07:14.000000000 +0000
+++ include/cc++/socket.h       2003-01-12 11:50:32.000000000 +0000
@@ -305,6 +305,8 @@
          * inet_addr() or htonl() 
         */
        InetAddress &operator=(unsigned long addr);
+       inline InetAddress &operator=(unsigned int addr)
+               {return *this = (unsigned long) addr;}
 
        inline bool operator!() const
                {return !isInetAddress();};


----- End forwarded message -----

Attachment: pgpvWTyDafaug.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]