[poppler] compilation error with mingw-w64

Vincent Torri vtorri at univ-evry.fr
Sun Oct 31 06:05:02 PDT 2010


I have mentioned the problem on IRC must maybe it's better to report here. 
On Windows 64 bits, long is of size 32 bits long. Hence:

strtok_r.cpp:68:29: error: cast from 'const unsigned char*' to 'long unsigned int' loses precision

Using unsigned long long int is maybe better. Or using unsigned __int64.

Vincent Torri

More information about the poppler mailing list