shithub: qk1

Download patch

ref: c994e5681e1db75fe14a52d4be7ac461993c1f39
parent: af7c9e9e4c647a9b155842cb98f25d0facd2bc95
author: Konstantinn Bonnet <qu7uux@gmail.com>
date: Thu Jan 29 16:15:30 EST 2015

forgotten bad cast from previous commit

--- a/net_main.c
+++ b/net_main.c
@@ -454,7 +454,7 @@
 			{
 				vcrConnect.time = host_time;
 				vcrConnect.op = VCR_OP_CONNECT;
-				vcrConnect.session = (int)ret;
+				vcrConnect.session = (uintptr)ret;
 				Sys_FileWrite (vcrFile, &vcrConnect, sizeof(vcrConnect));
 				Sys_FileWrite (vcrFile, ret->address, NET_NAMELEN);
 			}