X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=gcc%2Fconfig%2Fpicochip%2Fpicochip.h;h=16bb6c0dfa8cd9b5b60fc742c4c5251ac7147b61;hb=959fc02c27caefe184137ff482a34608e1ff64b9;hp=9584efac7ce21d6fb793b3f56c1f5f20579bb669;hpb=a3357f7dffc52969c120c2ecb9f1c013833ccb9b;p=gcc.git diff --git a/gcc/config/picochip/picochip.h b/gcc/config/picochip/picochip.h index 9584efac7ce..16bb6c0dfa8 100644 --- a/gcc/config/picochip/picochip.h +++ b/gcc/config/picochip/picochip.h @@ -550,7 +550,7 @@ do { \ #define ASM_FORMAT_PRIVATE_NAME(OUTPUT, NAME, LABELNO) \ ( (OUTPUT) = (char *) alloca (strlen ((NAME)) + 15), \ - sprintf ((OUTPUT), "%s___%d", (NAME), (LABELNO))) + sprintf ((OUTPUT), "%s___%lu", (NAME), (unsigned long)(LABELNO))) /* Macros Controlling Initialization Routines */ @@ -622,7 +622,7 @@ do { \ /* Assembler Commands for Alignment */ #define ASM_OUTPUT_SKIP(STREAM,BYTES) \ - fprintf(STREAM, ".skip %u\n", BYTES); + fprintf(STREAM, ".skip "HOST_WIDE_INT_PRINT_UNSIGNED"\n", BYTES); #define ASM_OUTPUT_ALIGN(STREAM,POWER) \ fprintf(STREAM, ".align %u\n", 1 << POWER);