aboutsummaryrefslogtreecommitdiff
path: root/gcc/unwind-pe.h
diff options
context:
space:
mode:
authorPaolo Carlini <pcarlini@unitus.it>2003-10-03 17:42:08 +0200
committerPaolo Carlini <paolo@gcc.gnu.org>2003-10-03 15:42:08 +0000
commit290f6157c842ac3db2267d0ef95a735adb83f9d4 (patch)
tree164facabef6c958891ad54ecb0109fa9fb1f66fa /gcc/unwind-pe.h
parent04693f2fd6f00f338df3c568065ddc913899fa59 (diff)
downloadgcc-290f6157c842ac3db2267d0ef95a735adb83f9d4.zip
gcc-290f6157c842ac3db2267d0ef95a735adb83f9d4.tar.gz
gcc-290f6157c842ac3db2267d0ef95a735adb83f9d4.tar.bz2
unwind-pe.h (read_encoded_value_with_base): Constify u and its inizialization cast.
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
Diffstat (limited to 'gcc/unwind-pe.h')
-rw-r--r--gcc/unwind-pe.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/unwind-pe.h b/gcc/unwind-pe.h
index ec5d27f..224ade3 100644
--- a/gcc/unwind-pe.h
+++ b/gcc/unwind-pe.h
@@ -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)