[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #2314 [Tor Client]: Compile warnings on windows
#2314: Compile warnings on windows
------------------------+---------------------------------------------------
Reporter: Sebastian | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: Tor Client | Version:
Keywords: | Parent:
------------------------+---------------------------------------------------
Comment(by Sebastian):
Here are the maint-0.2.1 warnings:
{{{
crypto.c: In function 'crypto_seed_rng':
crypto.c:1810:3: warning: pointer targets in passing argument 3 of
'CryptGenRandom' differ in signedness
c:\mingw\bin\../lib/gcc/mingw32/4.5.0/../../../../include/wincrypt.h:1204:23:
note: expected 'PBYTE' but argument is of type 'char *'
config.c: In function 'is_listening_on_low_port':
config.c:2667:35: warning: unused parameter 'port_option'
config.c:2668:47: warning: unused parameter 'listen_options'
cpuworker.c: In function 'cpuworker_main':
cpuworker.c:244:5: warning: pointer targets in passing argument 2 of
'recv' differ in signedness
c:\mingw\bin\../lib/gcc/mingw32/4.5.0/../../../../include/winsock2.h:547:32:
note: expected 'char *' but argument is of type 'uint8_t *'
ntmain.c: In function 'nt_service_install':
ntmain.c:550:17: warning: comparison with string literal results in
unspecified behavior
eventdns.c: In function 'nameserver_read':
eventdns.c:1298:9: warning: pointer targets in passing argument 2 of
'recvfrom' differ in signedness
c:\mingw\bin\../lib/gcc/mingw32/4.5.0/../../../../include/winsock2.h:548:32:
note: expected 'char *' but argument is of type 'uint8_t *'
eventdns.c: In function 'server_port_read':
eventdns.c:1329:15: warning: pointer targets in passing argument 2 of
'recvfrom' differ in signedness
c:\mingw\bin\../lib/gcc/mingw32/4.5.0/../../../../include/winsock2.h:548:32:
note: expected 'char *' but argument is of type 'uint8_t *'
eventdns.c: In function 'evdns_request_transmit_to':
eventdns.c:2062:2: warning: pointer targets in passing argument 2 of
'send' differ in signedness
c:\mingw\bin\../lib/gcc/mingw32/4.5.0/../../../../include/winsock2.h:549:32:
note: expected 'const char *' but argument is of type 'uint8_t *'
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/2314#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs