From 193ea7bc8c99e217072a11c733bb5f0d47eb72a0 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Wed, 30 Oct 2013 14:50:25 +0100 Subject: * cilk.c (create_cilk_helper_decl): Use HOST_WIDE_INT_PRINT_DEC. From-SVN: r204209 --- gcc/c-family/cilk.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gcc/c-family/cilk.c') diff --git a/gcc/c-family/cilk.c b/gcc/c-family/cilk.c index 91f10d5..f719d55 100644 --- a/gcc/c-family/cilk.c +++ b/gcc/c-family/cilk.c @@ -287,9 +287,9 @@ create_cilk_helper_decl (struct wrapper_data *wd) { char name[20]; if (wd->type == CILK_BLOCK_FOR) - sprintf (name, "_cilk_for_%ld", cilk_wrapper_count++); + sprintf (name, "_cilk_for_" HOST_WIDE_INT_PRINT_DEC, cilk_wrapper_count++); else if (wd->type == CILK_BLOCK_SPAWN) - sprintf (name, "_cilk_spn_%ld", cilk_wrapper_count++); + sprintf (name, "_cilk_spn_" HOST_WIDE_INT_PRINT_DEC, cilk_wrapper_count++); else gcc_unreachable (); -- cgit v1.1