mirror of
https://github.com/servalproject/serval-dna.git
synced 2025-04-07 11:08:36 +00:00
Fix compiler warning on Linux ix86
This commit is contained in:
parent
0c1c767af0
commit
147eec4315
@ -1001,7 +1001,7 @@ static int mdp_process_identity_request(struct mdp_client *client, struct mdp_he
|
||||
case TYPE_SID:
|
||||
while(payload_len>=SID_SIZE){
|
||||
int cn=0,in=0,kp=0;
|
||||
if (keyring_find_sid(keyring, &cn, &in, &kp, payload)
|
||||
if (keyring_find_sid(keyring, &cn, &in, &kp, (const sid_t *)payload)
|
||||
&& keyring->contexts[cn]->identities[in]->subscriber != my_subscriber)
|
||||
keyring_release_identity(keyring, cn, in);
|
||||
payload+=SID_SIZE;
|
||||
|
Loading…
x
Reference in New Issue
Block a user