浏览代码

kex: fix compile warning on 64b

Daniel-Constantin Mierla 14 年之前
父节点
当前提交
3fac57bc2b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      modules_k/kex/core_stats.c

+ 1 - 1
modules_k/kex/core_stats.c

@@ -133,7 +133,7 @@ static int sts_update_core_stats(void *data)
 {
 	int type;
 
-	type = (int)data;
+	type = (int)(long)data;
 	switch(type) {
 		case 1:
 			/* fwd_requests */