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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue