disable sd filters test for now
[LibreOffice.git] / icc / SampleICC-1.3.2-fmtargs.patch
bloba7549a89a9aa90b0b2ee61d964acd0d2d22d69d6
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
3 @@ -1155,7 +1155,7 @@
5 CIccInfo Info;
6 icChar buf[128];
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) ||
12 @@ -1230,7 +1230,7 @@
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;
20 sReport += buf;