Yeah, some compilers are trying to be linters as well and give
warnings about no explicit cast of void* :(
>
> CallScintilla(scintilla, SCI_SETILEXER, 0, pLexer);
>
> For me, it's trying to cast void* to sptr_t. I needed a cast:
>
> CallScintilla(scintilla, SCI_SETILEXER, 0, (sptr_t)pLexer);
>
> I'm not sure how CallScintilla is defined for other platforms, but for my curses platform, the last argument is sptr_t.
Since its exported by Scintilla.h I expect most C users use it, eg Geany does.
Cheers
Lex
>
> Cheers,
> Mitchell
>
> --
> You received this message because you are subscribed to the Google Groups "scintilla-interest" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
scintilla-inter...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/scintilla-interest/20210326233158.d6f57a908e690d6d1dc5956f%40triplequasar.com.