summaryrefslogtreecommitdiff
path: root/src/or/cpuworker.c
diff options
context:
space:
mode:
authorSebastian Hahn <sebastian@torproject.org>2010-12-26 12:13:47 +0100
committerSebastian Hahn <sebastian@torproject.org>2010-12-27 09:47:41 +0100
commit9ecf133686c8907baec2292ca612ee11aa18406e (patch)
tree58ab4df2a31b975f4eb7d18689cc66cb4b2a0d8e /src/or/cpuworker.c
parente895919b171029df4d38285b0be4483376b4ad25 (diff)
downloadtor-9ecf133686c8907baec2292ca612ee11aa18406e.tar.gz
tor-9ecf133686c8907baec2292ca612ee11aa18406e.zip
Fix compile wanrings revealed by gcc 4.5 on mingw
Diffstat (limited to 'src/or/cpuworker.c')
-rw-r--r--src/or/cpuworker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/cpuworker.c b/src/or/cpuworker.c
index ae8d69f6ec..fecad1489f 100644
--- a/src/or/cpuworker.c
+++ b/src/or/cpuworker.c
@@ -250,7 +250,7 @@ cpuworker_main(void *data)
for (;;) {
ssize_t r;
- if ((r = recv(fd, &question_type, 1, 0)) != 1) {
+ if ((r = recv(fd, (void *)&question_type, 1, 0)) != 1) {
// log_fn(LOG_ERR,"read type failed. Exiting.");
if (r == 0) {
log_info(LD_OR,