Correct format string
vvp_scope.c:1741: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int'
introduced in commit
331faa2217
This commit is contained in:
parent
d28fcb8941
commit
f9bf502324
|
|
@ -1736,7 +1736,7 @@ static void draw_lpm_add(ivl_lpm_t net)
|
||||||
type = "pow.s";
|
type = "pow.s";
|
||||||
if (width > 8*sizeof(long)) {
|
if (width > 8*sizeof(long)) {
|
||||||
fprintf(stderr, "%s:%u: sorry (vvp-tgt): Signed power "
|
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),
|
ivl_lpm_file(net), ivl_lpm_lineno(net),
|
||||||
8*sizeof(long));
|
8*sizeof(long));
|
||||||
exit(1);
|
exit(1);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue