V0.9: Fix int/long warning.
This commit is contained in:
parent
a916f8e34e
commit
1f35d57854
|
|
@ -585,21 +585,21 @@ void print_vpi_call_errors()
|
||||||
fprintf(stderr, "%s:%d: Error: System task/function %s() is "
|
fprintf(stderr, "%s:%d: Error: System task/function %s() is "
|
||||||
"not defined by any module.\n",
|
"not defined by any module.\n",
|
||||||
file_names[vpi_call_error_lst[idx].file_idx],
|
file_names[vpi_call_error_lst[idx].file_idx],
|
||||||
vpi_call_error_lst[idx].lineno,
|
(int)vpi_call_error_lst[idx].lineno,
|
||||||
vpi_call_error_lst[idx].name);
|
vpi_call_error_lst[idx].name);
|
||||||
break;
|
break;
|
||||||
case VPI_CALL_TASK_AS_FUNC:
|
case VPI_CALL_TASK_AS_FUNC:
|
||||||
fprintf(stderr, "%s:%d: Error: %s() is a system task, it "
|
fprintf(stderr, "%s:%d: Error: %s() is a system task, it "
|
||||||
"cannot be called as a function.\n",
|
"cannot be called as a function.\n",
|
||||||
file_names[vpi_call_error_lst[idx].file_idx],
|
file_names[vpi_call_error_lst[idx].file_idx],
|
||||||
vpi_call_error_lst[idx].lineno,
|
(int)vpi_call_error_lst[idx].lineno,
|
||||||
vpi_call_error_lst[idx].name);
|
vpi_call_error_lst[idx].name);
|
||||||
break;
|
break;
|
||||||
case VPI_CALL_FUNC_AS_TASK:
|
case VPI_CALL_FUNC_AS_TASK:
|
||||||
fprintf(stderr, "%s:%d: Error: %s() is a system function, it "
|
fprintf(stderr, "%s:%d: Error: %s() is a system function, it "
|
||||||
"cannot be called as a task.\n",
|
"cannot be called as a task.\n",
|
||||||
file_names[vpi_call_error_lst[idx].file_idx],
|
file_names[vpi_call_error_lst[idx].file_idx],
|
||||||
vpi_call_error_lst[idx].lineno,
|
(int)vpi_call_error_lst[idx].lineno,
|
||||||
vpi_call_error_lst[idx].name);
|
vpi_call_error_lst[idx].name);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue