cURL cURL > Mailing List > Monthly Index > Single Mail

curl-tracker Archives

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

From: Steve Holme <captain-caveman_at_users.sf.net>
Date: Sat, 13 Sep 2014 09:37:17 +0000

- **status**: open-confirmed --> closed-fixed
- **Comment**:

I have now verified the Unicode build of the new GSSAPI code in curl_sasl_sspi.c and pushed a modified version of your patch as commit bd3df5ec6d.

Many thanks for your assistance on this.

Kind Regards

Steve

---
** [bugs:#1422] MSVC warnings in 7.38.0 SSPI Unicode build**
**Status:** closed-fixed
**Created:** Wed Sep 10, 2014 12:50 PM UTC by Marcel Raad
**Last Updated:** Wed Sep 10, 2014 01:26 PM UTC
**Owner:** Steve Holme
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-13

These mail archives are generated by hypermail.