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
This commit is contained in:
Paolo Carlini 2003-10-03 17:42:08 +02:00 committed by Paolo Carlini
parent 04693f2fd6
commit 290f6157c8
2 changed files with 7 additions and 2 deletions

View 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

View 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)