Actually, there may be a problem in this regard. DWORD is defined as 'unsigned long' on Windows, Wine and MinGW whereas lcms.h defines it as 'unsigned int'. These definitions are compatible on 32 bit systems AFAICS, but I'm not sure about 64 bit systems. Can someone enlighten us here? Anyway, the difference causes compiler warnings and that's why I did this:
'unsigned int' is a 32-bit quantity on 32-bit and normal 64-bit systems. 'unsigned long' is a 64-bit type on 64-bit systems. It would be fine to use 'unsigned long' on 32-bit CPUs, but whatever warnings you are seeing would still be evident when 'unsigned int' is then used on 64-bit CPUs.
Bob ====================================== Bob Friesenhahn [EMAIL PROTECTED] http://www.simplesystems.org/users/bfriesen
------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Lcms-user mailing list Lcms-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lcms-user