Closed Dav1dK closed 2 years ago
This is SSIZE_T (uppercase). And I couldn't find a SSIZE_T on my linux system, so this is no alternative.
I still think, that using int would be the correct approach here, as this is the return type of QByteArray::indexOf. This will match in all cases.
If you still want to use ssize_t, we should include a typedef on Windows?
Cherry picked to master. Closing.
ssize_t is not available on windows (at least not with msvc2019). Use int as QByteArray::indexOf is defined with int return type.