diff options
Diffstat (limited to 'gcc/ada')
-rw-r--r-- | gcc/ada/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/ada/adaint.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 2836e26..b69987f 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,8 @@ +2011-05-25 Kai Tietz <ktietz@redhat.com> + + * adaint.c (__gnat_to_canonical_file_list_next): Use array + initialization instead of const/none-const pointer assignment. + 2011-05-24 Joseph Myers <joseph@codesourcery.com> * gcc-interface/Make-lang.in (GNAT1_OBJS): Don't include diff --git a/gcc/ada/adaint.c b/gcc/ada/adaint.c index 855ce34..bea33f6 100644 --- a/gcc/ada/adaint.c +++ b/gcc/ada/adaint.c @@ -3367,7 +3367,7 @@ __gnat_to_canonical_file_list_init char * __gnat_to_canonical_file_list_next (void) { - static char *empty = ""; + static char empty[] = ""; return empty; } |