Explorar o código

kex: fix compile warning on 64b

Daniel-Constantin Mierla %!s(int64=14) %!d(string=hai) anos
pai
achega
3fac57bc2b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 */