diff options
author | Claudiu Zissulescu <claziss@gmail.com> | 2020-03-31 15:00:04 +0300 |
---|---|---|
committer | Claudiu Zissulescu <claziss@gmail.com> | 2020-03-31 15:00:32 +0300 |
commit | d08a318b4fdf92f6e57116349f37195fbc085b9e (patch) | |
tree | d3aa133b65b6efe301e5350615f615d1e91a3420 /gcc/config/arc | |
parent | 1ef979c69661f9e7abdd75bfda4a4a15e4181ae8 (diff) | |
download | gcc-d08a318b4fdf92f6e57116349f37195fbc085b9e.zip gcc-d08a318b4fdf92f6e57116349f37195fbc085b9e.tar.gz gcc-d08a318b4fdf92f6e57116349f37195fbc085b9e.tar.bz2 |
arc: Cleanup compilation warning
gcc/
xxxx-xx-xx Claudiu Zissulescu <claziss@synopsys.com>
* config/arc/arc.h (ASM_FORMAT_PRIVATE_NAME): Fix it.
Diffstat (limited to 'gcc/config/arc')
-rw-r--r-- | gcc/config/arc/arc.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/arc/arc.h b/gcc/config/arc/arc.h index be1d5cb..fd6e21a 100644 --- a/gcc/config/arc/arc.h +++ b/gcc/config/arc/arc.h @@ -1136,9 +1136,9 @@ do { \ /* Store in OUTPUT a string (made with alloca) containing an assembler-name for a local static variable named NAME. LABELNO is an integer which is different for each call. */ -#define ASM_FORMAT_PRIVATE_NAME(OUTPUT, NAME, LABELNO) \ -( (OUTPUT) = (char *) alloca (strlen ((NAME)) + 10), \ - sprintf ((OUTPUT), "%s.%d", (NAME), (LABELNO))) +#define ASM_FORMAT_PRIVATE_NAME(OUTPUT, NAME, LABELNO) \ + ((OUTPUT) = (char *) alloca (strlen ((NAME)) + 10), \ + sprintf ((OUTPUT), "%s.%u", (NAME), (unsigned int)(LABELNO))) /* The following macro defines the format used to output the second operand of the .type assembler directive. Different svr4 assemblers |