diff options
author | Sebastian Hahn <sebastian@torproject.org> | 2010-12-26 12:13:47 +0100 |
---|---|---|
committer | Sebastian Hahn <sebastian@torproject.org> | 2010-12-27 09:47:41 +0100 |
commit | 9ecf133686c8907baec2292ca612ee11aa18406e (patch) | |
tree | 58ab4df2a31b975f4eb7d18689cc66cb4b2a0d8e /src/or/cpuworker.c | |
parent | e895919b171029df4d38285b0be4483376b4ad25 (diff) | |
download | tor-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.c | 2 |
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, |