Re: partially revert "Cleanup remaining errors; .." in certkeys.c
Aleksey Sanin <[email protected]> Sat, 10 Jun 2017 17:42:00 -0700
| Newsgroups | gmane.text.xml.xmlsec |
|---|---|
| Message-ID | <[email protected]> |
Should be xmlSecInvalidStringTypeError(). No idea why MSVC didn't complain.
Aleksey
On 6/10/17 11:05 AM, Roumen Petrov wrote:
> Hi Aleksey,
>
> In certkeys.c one of conversion to error functions is not correct - GCC
> mingw complier warns with:
> .....
> make[3]: Entering directory `..../src/mscrypto'
> CC libxmlsec1_mscrypto_la-certkeys.lo
> In file included from globals.h:29:0,
> from certkeys.c:10:
> certkeys.c: In function 'xmlSecMSCryptoCertAdopt':
> ../errors_helpers.h:516:21: warning: cast from pointer to integer of
> different size [-Wpointer-to-int-cast]
> (unsigned long)(actual), \
> ^
> certkeys.c:902:9: note: in expansion of macro
> 'xmlSecInvalidIntegerTypeError'
> xmlSecInvalidIntegerTypeError("PCCERT_CONTEXT key type",
> ^
> .....
>
> Work-around is temporary to restore previous code - see attachment
> 0007-partially-revert-Cleanup-remaining-errors-.-in-certk.patch
>
> Roumen
>
>
> _______________________________________________
> xmlsec mailing list
> [email protected]
> http://www.aleksey.com/mailman/listinfo/xmlsec
>
_______________________________________________
xmlsec mailing list
[email protected]
http://www.aleksey.com/mailman/listinfo/xmlsec