mirror of
https://github.com/gcc-mirror/gcc.git
synced 2024-11-21 13:40:47 +00:00
Darwin: Fix a narrowing warning.
cdtor_record needs to have an unsigned entry for the position in order to match with vec_safe_length. gcc/ChangeLog: * config/darwin.cc (cdtor_record): Make position unsigned. Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
This commit is contained in:
parent
345eb9b795
commit
a91d5c27cd
@ -90,7 +90,7 @@ along with GCC; see the file COPYING3. If not see
|
||||
typedef struct GTY(()) cdtor_record {
|
||||
rtx symbol;
|
||||
int priority; /* [con/de]structor priority */
|
||||
int position; /* original position */
|
||||
unsigned position; /* original position */
|
||||
} cdtor_record;
|
||||
|
||||
static GTY(()) vec<cdtor_record, va_gc> *ctors = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user