aboutsummaryrefslogtreecommitdiff
path: root/crypto.c
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2023-06-11 11:31:06 +0000
committerOmar Polo <op@omarpolo.com>2023-06-11 11:31:06 +0000
commitd1739e3f03a014fa9baded61a49eeb49293c751f (patch)
treefafd791f0b9ae54c8a24ced371947a12df11fbff /crypto.c
parentec96a0ad3b80dd46a4d68359807c0c09560100cb (diff)
cast uint64_t to unsigned long long
Diffstat (limited to 'crypto.c')
-rw-r--r--crypto.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/crypto.c b/crypto.c
index ecac97b..5da4970 100644
--- a/crypto.c
+++ b/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);