minor fixes to get master to compile again

This commit is contained in:
ac-stef
2015-04-06 10:37:13 +02:00
parent c3ae2066d0
commit 453c79ee6d
3 changed files with 6 additions and 3 deletions
+1 -1
View File
@@ -510,7 +510,7 @@ void reqauth(client &c, uint id, char *name)
authreq &a = c.authreqs.add();
a.reqtime = servtime;
a.id = id;
uint seed[3] = { starttime, servtime, randomMT() };
uint seed[3] = { (uint)starttime, (uint)servtime, randomMT() };
static vector<char> buf;
buf.setsize(0);
a.answer = genchallenge(u->pubkey, seed, sizeof(seed), buf);