cURL cURL > Mailing List > Monthly Index > Single Mail

curl-tracker Archives

[curl:bugs] #1422 MSVC warnings in 7.38.0 SSPI Unicode build

From: Marcel Raad <marcelraad_at_users.sf.net>
Date: Wed, 10 Sep 2014 12:50:04 +0000

---
** [bugs:#1422] MSVC warnings in 7.38.0 SSPI Unicode build**
**Status:** open
**Created:** Wed Sep 10, 2014 12:50 PM UTC by Marcel Raad
**Last Updated:** Wed Sep 10, 2014 12:50 PM UTC
**Owner:** nobody
When Unicode is enabled, Microsoft Visual C++ 2013 complains about 'wchar_t *' and 'char *' being incompatible in Curl_sasl_build_spn and Curl_sasl_create_gssapi_security_message:
curl_sasl_sspi.c(88): warning C4133: '!=' : incompatible types - from 'TCHAR *' to 'char *'
curl_sasl_sspi.c(581): warning C4133: 'function' : incompatible types - from 'SEC_WCHAR *' to 'const char *'
curl_sasl_sspi.c(596): warning C4133: 'function' : incompatible types - from 'SEC_WCHAR *' to 'const char *'
The attached patch fixes those warnings. Perhaps someone could verify that the Curl_sasl_create_gssapi_security_message part does now what it should do when Unicode is enabled - this function is currently only used in the e-mail protocol functions and I build libcurl with HTTP_ONLY.
---
Sent from sourceforge.net because curl-tracker@cool.haxx.se is subscribed to https://sourceforge.net/p/curl/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/curl/admin/bugs/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.
Received on 2014-09-10

These mail archives are generated by hypermail.