mirror of https://github.com/omar-polo/gmid.git
cast uint64_t to unsigned long long
This commit is contained in:
parent
ec96a0ad3b
commit
d1739e3f03
5
crypto.c
5
crypto.c
|
@ -342,8 +342,9 @@ rsae_send_imsg(int flen, const unsigned char *from, unsigned char *to,
|
|||
toptr = imsg.data + sizeof(res);
|
||||
|
||||
if (res.id != reqid)
|
||||
fatalx("invalid response id"
|
||||
" got %llu, want %llu", res.id, reqid);
|
||||
fatalx("invalid id; got %llu, want %llu",
|
||||
(unsigned long long)res.id,
|
||||
(unsigned long long)reqid);
|
||||
if (res.ret > 0)
|
||||
memcpy(to, toptr, res.len);
|
||||
|
||||
|
|
Loading…
Reference in New Issue