[Pkg-ace-devel] r359 - /trunk/debian/patches/31-gcc-4.1-fix.dpatch

tgg-guest at users.alioth.debian.org tgg-guest at users.alioth.debian.org
Fri Jun 9 05:44:21 UTC 2006


Author: tgg-guest
Date: Fri Jun  9 05:44:18 2006
New Revision: 359

URL: http://svn.debian.org/wsvn/pkg-ace/?sc=1&rev=359
Log:
Drop the `const' in where needed.

Modified:
    trunk/debian/patches/31-gcc-4.1-fix.dpatch

Modified: trunk/debian/patches/31-gcc-4.1-fix.dpatch
URL: http://svn.debian.org/wsvn/pkg-ace/trunk/debian/patches/31-gcc-4.1-fix.dpatch?rev=359&op=diff
==============================================================================
--- trunk/debian/patches/31-gcc-4.1-fix.dpatch (original)
+++ trunk/debian/patches/31-gcc-4.1-fix.dpatch Fri Jun  9 05:44:18 2006
@@ -315,13 +315,13 @@
        if (sizeof (ACE_CDR::WChar) == 2)
 -        return this->read_2 (reinterpret_cast<ACE_CDR::UShort *> (&x));
 +	{
-+	  const void *temp = &x;
++	  void *temp = &x;
 +	  return this->read_2 (reinterpret_cast<ACE_CDR::UShort *> (temp));
 +	}
        else
 -        return this->read_4 (reinterpret_cast<ACE_CDR::ULong *> (&x));
 +	{
-+	  const void *temp = &x;
++	  void *temp = &x;
 +	  return this->read_4 (reinterpret_cast<ACE_CDR::ULong *> (temp));
 +	}
      }




More information about the Pkg-ace-devel mailing list