# HG changeset patch # User Klaus Ethgen # Date 1457304310 -3600 # Node ID e14de5a0ed41188662c95946a9fb673d33aaef85 # Parent 64079ed1eb41657009b3301313a306139e7089a6 Fixed one wrongly function call with pointer This is a potentional dangerous call to LCMS function. There was a compiler warning but nobody cared about before. diff -r 64079ed1eb41 -r e14de5a0ed41 src/color-man.c --- a/src/color-man.c Mon Feb 15 22:09:52 2016 +0100 +++ b/src/color-man.c Sun Mar 06 23:45:10 2016 +0100 @@ -435,7 +435,7 @@ 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