Add a cast to remove a warning.

This patch adds a cast to get around the warning produced when the tf
size call back (int *) is placed into the vpi structure (PLI_INT32 *).
This commit is contained in:
Cary R
2007-08-15 10:04:50 -07:00
committed by Stephen Williams
parent 239523b3c7
commit 35e19ccbd3
+1 -1
View File
@@ -109,7 +109,7 @@ void veriusertfs_register_table(p_tfcell vtable)
tf_data.tfname = tf->tfname;
tf_data.compiletf = compiletf;
tf_data.calltf = calltf;
tf_data.sizetf = tf->sizetf;
tf_data.sizetf = (PLI_INT32 (*)(PLI_BYTE8 *))tf->sizetf;
tf_data.user_data = (char *)data;
if (pli_trace) {