[Bug 18165] dlls/winhttp/net.c: assignment discards qualifies from pointer target type

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Nov 12 18:05:55 CST 2009


--- Comment #5 from Austin English <austinenglish at gmail.com>  2009-11-12 18:05:55 ---
(In reply to comment #4)
> Patch looks fine, why don't you send it in?

Apparently it breaks when compiling on non-NetBSD. On Karmic:
austin at midna:~/wine-git/dlls/winhttp$ make
ccache gcc -m32 -c -I. -I. -I../../include -I../../include  -D__WINESRC__ 
-D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing
-Wdeclaration-after-statement -Wstrict-prototypes -Wwrite-strings -Wtype-limits
-Wpointer-arith  -g -O2  -o net.o net.c
net.c: In function ‘netconn_init’:
net.c:284: warning: passing argument 1 of ‘pSSL_CTX_new’ discards qualifiers
from pointer target type
net.c:284: note: expected ‘struct SSL_METHOD *’ but argument is of type ‘const
struct SSL_METHOD *’

Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the wine-bugs mailing list