]> gcc.gnu.org Git - gcc.git/commitdiff
unwind-pe.h (read_encoded_value_with_base): Constify u and its inizialization cast.
authorPaolo Carlini <pcarlini@unitus.it>
Fri, 3 Oct 2003 15:42:08 +0000 (17:42 +0200)
committerPaolo Carlini <paolo@gcc.gnu.org>
Fri, 3 Oct 2003 15:42:08 +0000 (15:42 +0000)
2003-10-03  Paolo Carlini  <pcarlini@unitus.it>

* unwind-pe.h (read_encoded_value_with_base): Constify u and
its inizialization cast.

From-SVN: r72071

gcc/ChangeLog
gcc/unwind-pe.h

index 3c80a52e68880f2970c680f8a846515de59c89c6..bae0598ba065f69e18c6eaf4cd3bf7f2ca1cf525 100644 (file)
@@ -1,3 +1,8 @@
+2003-10-03  Paolo Carlini  <pcarlini@unitus.it>
+
+       * unwind-pe.h (read_encoded_value_with_base): Constify u and
+       its inizialization cast.
+
 2003-10-03  Richard Sandiford  <rsandifo@redhat.com>
 
        PR target/12485
index ec5d27f7e429d406038ba7cf6359a2d552bc86d7..224ade33209e5e18c32c252f91bc89f6c2a6f445 100644 (file)
@@ -1,5 +1,5 @@
 /* Exception handling and frame unwind runtime interface routines.
-   Copyright (C) 2001, 2002 Free Software Foundation, Inc.
+   Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
 
    This file is part of GCC.
 
@@ -191,7 +191,7 @@ read_encoded_value_with_base (unsigned char encoding, _Unwind_Ptr base,
       signed s8 __attribute__ ((mode (DI)));
     } __attribute__((__packed__));
 
-  union unaligned *u = (union unaligned *) p;
+  const union unaligned *u = (const union unaligned *) p;
   _Unwind_Internal_Ptr result;
 
   if (encoding == DW_EH_PE_aligned)
This page took 0.07262 seconds and 5 git commands to generate.