From 1f35d57854c416e4078a35272c9575c85d052e5f Mon Sep 17 00:00:00 2001 From: Cary R Date: Tue, 8 Jun 2010 11:38:20 -0700 Subject: [PATCH] V0.9: Fix int/long warning. --- vvp/vpi_tasks.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vvp/vpi_tasks.cc b/vvp/vpi_tasks.cc index 359b5c24b..4e401d7c2 100644 --- a/vvp/vpi_tasks.cc +++ b/vvp/vpi_tasks.cc @@ -585,21 +585,21 @@ void print_vpi_call_errors() fprintf(stderr, "%s:%d: Error: System task/function %s() is " "not defined by any module.\n", 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); break; case VPI_CALL_TASK_AS_FUNC: fprintf(stderr, "%s:%d: Error: %s() is a system task, it " "cannot be called as a function.\n", 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); break; case VPI_CALL_FUNC_AS_TASK: fprintf(stderr, "%s:%d: Error: %s() is a system function, it " "cannot be called as a task.\n", 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); break; }