소스 검색

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;
 	int type;
 
 
-	type = (int)data;
+	type = (int)(long)data;
 	switch(type) {
 	switch(type) {
 		case 1:
 		case 1:
 			/* fwd_requests */
 			/* fwd_requests */