mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 13:47:58 +03:00
Corrected some compilation warnings
This commit is contained in:
parent
dfb2cb6bbf
commit
874b034698
2 changed files with 2 additions and 2 deletions
|
@ -306,7 +306,7 @@ static void send_final(qr_t qrec, struct sockaddr *sender, char *outbuf, char *v
|
|||
return;
|
||||
}
|
||||
|
||||
strcpy(encrypted_val, validation);
|
||||
strcpy((char*)encrypted_val, validation);
|
||||
|
||||
gs_encrypt((uchar *)qrec->secret_key, (int)strlen(qrec->secret_key), encrypted_val, keylen);
|
||||
gs_encode(encrypted_val, keylen, encoded_val);
|
||||
|
|
|
@ -1519,7 +1519,7 @@ void SV_ExecuteClientCommand( client_t *cl, const char *s, qboolean clientOK ) {
|
|||
// Since 2.0, displays chat messages
|
||||
// NOTE: this should be handled by fgame, not server
|
||||
//
|
||||
Com_Printf("%s (%ld): %s", cl->name, cl - svs.clients, s);
|
||||
Com_Printf("%s (%zu): %s", cl->name, (size_t)(cl - svs.clients), s);
|
||||
}
|
||||
|
||||
if (clientOK) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue