浏览代码

Fix cast.

Cyril Roelandt 13 年之前
父节点
当前提交
4fb9bb3314
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      examples/filters/custom_mf/custom_interface.c

+ 1 - 1
examples/filters/custom_mf/custom_interface.c

@@ -82,7 +82,7 @@ static struct starpu_multiformat_data_interface_ops*
 get_mf_ops(void *data_interface)
 {
 	struct custom_data_interface *custom;
-	custom = (struct starpu_multiformat_interface *) data_interface;
+	custom = (struct custom_data_interface *) data_interface;
 
 	return custom->ops;
 }