1 --- misc/SampleICC-1.3.2/IccProfLib/IccProfile.cpp 2009-01-20 11:48:36.000000000 -0500
2 +++ misc/build/SampleICC-1.3.2/IccProfLib/IccProfile.cpp 2009-01-19 14:41:23.000000000 -0500
7 - sprintf(buf, Info.GetSigName(m_Header.deviceClass));
8 + sprintf(buf, "%s", Info.GetSigName(m_Header.deviceClass));
9 if (m_Header.deviceClass!=icSigInputClass && m_Header.deviceClass!=icSigDisplayClass) {
10 if (GetTag(icSigGrayTRCTag) || GetTag(icSigRedTRCTag) || GetTag(icSigGreenTRCTag) ||
11 GetTag(icSigBlueTRCTag) || GetTag(icSigRedColorantTag) || GetTag(icSigGreenColorantTag) ||
13 for (i=m_Tags->begin(); i!=m_Tags->end(); i++) {
14 tagsig = i->TagInfo.sig;
15 typesig = i->pTag->GetType();
16 - sprintf(buf, Info.GetSigName(tagsig));
17 + sprintf(buf, "%s", Info.GetSigName(tagsig));
18 if (!IsTypeValid(tagsig, typesig)) {
19 sReport += icValidateNonCompliantMsg;