diff options
Diffstat (limited to 'gcc/ada/gcc-interface/utils.c')
-rw-r--r-- | gcc/ada/gcc-interface/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/gcc-interface/utils.c b/gcc/ada/gcc-interface/utils.c index 2d448d1ddb9..309cff6ad32 100644 --- a/gcc/ada/gcc-interface/utils.c +++ b/gcc/ada/gcc-interface/utils.c @@ -2797,7 +2797,7 @@ gnat_type_for_size (unsigned precision, int unsignedp) if (!TYPE_NAME (t)) { - sprintf (type_name, "%sSIGNED_%d", unsignedp ? "UN" : "", precision); + sprintf (type_name, "%sSIGNED_%u", unsignedp ? "UN" : "", precision); TYPE_NAME (t) = get_identifier (type_name); } |