diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-07-01 15:52:57 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-07-01 15:53:01 -0400 |
commit | 1597c423844de4da82cde58c9162d05ff5b28b40 (patch) | |
tree | 5d9f552d6899720e94d1e6e2c0f1b52f46dd2c54 /src/or | |
parent | 3566ff05fd9b4b0e0d6c2667f11f769b63aeee4d (diff) | |
download | tor-1597c423844de4da82cde58c9162d05ff5b28b40.tar.gz tor-1597c423844de4da82cde58c9162d05ff5b28b40.zip |
Fix i386 conversion warnings
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/shared_random.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/or/shared_random.c b/src/or/shared_random.c index 7a0273d495..a7a2238ab7 100644 --- a/src/or/shared_random.c +++ b/src/or/shared_random.c @@ -254,8 +254,9 @@ commit_decode(const char *encoded, sr_commit_t *commit) if (decoded_len != SR_COMMIT_LEN) { log_warn(LD_BUG, "SR: Commit from authority %s decoded length doesn't " - "match the expected length (%d vs %lu).", - sr_commit_get_rsa_fpr(commit), decoded_len, SR_COMMIT_LEN); + "match the expected length (%d vs %u).", + sr_commit_get_rsa_fpr(commit), decoded_len, + (unsigned)SR_COMMIT_LEN); goto error; } @@ -307,8 +308,9 @@ reveal_decode(const char *encoded, sr_commit_t *commit) if (decoded_len != SR_REVEAL_LEN) { log_warn(LD_BUG, "SR: Reveal from authority %s decoded length is " - "doesn't match the expected length (%d vs %lu)", - sr_commit_get_rsa_fpr(commit), decoded_len, SR_REVEAL_LEN); + "doesn't match the expected length (%d vs %u)", + sr_commit_get_rsa_fpr(commit), decoded_len, + (unsigned)SR_REVEAL_LEN); goto error; } |