This is a potentional dangerous call to LCMS function. There was a
compiler warning but nobody cared about before.
cmsUInt32Number r;
char buffer[20];
buffer[0] = '\0';
cmsUInt32Number r;
char buffer[20];
buffer[0] = '\0';
- r = cmsGetProfileInfoASCII(profile, cmsInfoDescription, "en", "US", &buffer, 20);
+ r = cmsGetProfileInfoASCII(profile, cmsInfoDescription, "en", "US", buffer, 20);
buffer[19] = '\0'; /* Just to be sure */
return g_strdup(buffer);
#else
buffer[19] = '\0'; /* Just to be sure */
return g_strdup(buffer);
#else