summaryrefslogtreecommitdiff
path: root/gcc/ada/adaint.h
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2009-11-30 16:16:55 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2009-11-30 16:16:55 +0000
commitbce992c9220e3309eab49d6ebc9b735292f1901f (patch)
tree9d34ffd54ee9a2be41640e14b0c888afe283d912 /gcc/ada/adaint.h
parentd36a3269d0e6c5b34a0cf85c75e416186176b01d (diff)
downloadgcc-bce992c9220e3309eab49d6ebc9b735292f1901f.tar.gz
2009-11-30 Ed Schonberg <schonberg@adacore.com>
* par_sco.adb (Traverse_Handled_Statement_Sequence): Do not emit SCO's for null statements that do not come from source. * sinfo.ads: Clarify documentation of Comes_From_Source 2009-11-30 Vincent Celier <celier@adacore.com> * prj-nmsc.adb (Add_Source): Use Display_Name for both projects when displaying the paths in error message. 2009-11-30 Emmanuel Briot <briot@adacore.com> * adaint.h, adaint.c (file_attributes): force the use of unsigned char. On some platforms, "char" is signed, on others unsigned, so we explicitly specify the one we expect git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154826 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/adaint.h')
-rw-r--r--gcc/ada/adaint.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/gcc/ada/adaint.h b/gcc/ada/adaint.h
index 41b6357656f..7af079e35a9 100644
--- a/gcc/ada/adaint.h
+++ b/gcc/ada/adaint.h
@@ -74,15 +74,15 @@ typedef long OS_Time;
*/
struct file_attributes {
- char exists;
+ unsigned char exists;
- char writable;
- char readable;
- char executable;
+ unsigned char writable;
+ unsigned char readable;
+ unsigned char executable;
- char symbolic_link;
- char regular;
- char directory;
+ unsigned char symbolic_link;
+ unsigned char regular;
+ unsigned char directory;
OS_Time timestamp;
long file_length;