From f9bf502324fe92ee6548616e6208cb136180ce20 Mon Sep 17 00:00:00 2001 From: Larry Doolittle Date: Thu, 14 Feb 2008 15:35:06 -0800 Subject: [PATCH] Correct format string vvp_scope.c:1741: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' introduced in commit 331faa22173d8a3ede93a8117b35b9723155eb51 --- tgt-vvp/vvp_scope.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tgt-vvp/vvp_scope.c b/tgt-vvp/vvp_scope.c index 4bb7ecd91..8fbe614ad 100644 --- a/tgt-vvp/vvp_scope.c +++ b/tgt-vvp/vvp_scope.c @@ -1736,7 +1736,7 @@ static void draw_lpm_add(ivl_lpm_t net) type = "pow.s"; if (width > 8*sizeof(long)) { fprintf(stderr, "%s:%u: sorry (vvp-tgt): Signed power " - "result must be no more than %d bits.\n", + "result must be no more than %zu bits.\n", ivl_lpm_file(net), ivl_lpm_lineno(net), 8*sizeof(long)); exit(1);