diff options
author | Roger Dingledine <arma@torproject.org> | 2004-01-08 22:48:18 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-01-08 22:48:18 +0000 |
commit | db0c27b36204330a985c6a86be4604856d6d4ca2 (patch) | |
tree | 5d98e37ccceb5714eb295ef2e9f0b670cb05af88 /src/or | |
parent | e47106745e1f987cfb9a06df104334a2ef648d55 (diff) | |
download | tor-db0c27b36204330a985c6a86be4604856d6d4ca2.tar.gz tor-db0c27b36204330a985c6a86be4604856d6d4ca2.zip |
resolve cygwin warnings for pre19
svn:r981
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/onion.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/onion.c b/src/or/onion.c index e25dac8c18..c1633c33c9 100644 --- a/src/or/onion.c +++ b/src/or/onion.c @@ -132,14 +132,14 @@ int onionskin_answer(circuit_t *circ, unsigned char *payload, unsigned char *key memcpy(cell.payload, payload, ONIONSKIN_REPLY_LEN); log_fn(LOG_INFO,"init digest forward %d, backward %d.", - *(uint32_t*)(keys), *(uint32_t*)(keys+20)); + (int)*(uint32_t*)(keys), (int)*(uint32_t*)(keys+20)); circ->n_digest = crypto_new_digest_env(CRYPTO_SHA1_DIGEST); crypto_digest_add_bytes(circ->n_digest, keys, 20); circ->p_digest = crypto_new_digest_env(CRYPTO_SHA1_DIGEST); crypto_digest_add_bytes(circ->p_digest, keys+20, 20); log_fn(LOG_DEBUG,"init cipher forward %d, backward %d.", - *(uint32_t*)(keys+40), *(uint32_t*)(keys+40+16)); + (int)*(uint32_t*)(keys+40), (int)*(uint32_t*)(keys+40+16)); if (!(circ->n_crypto = crypto_create_init_cipher(CIRCUIT_CIPHER,keys+40,iv,0))) { log_fn(LOG_WARN,"Cipher initialization failed (n)."); |