Hi Kai-Uwe, The ordering should be big endian, so it is correct only in a Mac. Probably I should fix that in next release, maybe allowing char* instead of int? Regards
Marti Maria The littleCMS project www.littlecms.com -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kai-Uwe Behrmann Sent: Sunday, January 14, 2007 8:04 PM To: Lcms Liste Subject: [Lcms-user] cmsSetLanguage Hello, is it correct to write: char LanguageCode[2], CountryCode[2]; LanguageCode[0] = 'd'; LanguageCode[0] = 'e'; CountryCode[0] = 'D'; CountryCode[1] = 'E'; cmsSetLanguage( (int)LanguageCode, (int)CountryCode ); or do I need to byteswap before? regards Kai-Uwe Behrmann -- development for color management www.behrmann.name + www.oyranos.org + www.cinepaint.org ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Lcms-user mailing list Lcms-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lcms-user ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Lcms-user mailing list Lcms-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lcms-user