update dev300-m58
[ooovba.git] / icc / mdv-fmtargs-buildfix.patch
blob0095fef558610cb674404e076d33331669102ecf
1 --- IccProfLib/IccProfile.cpp 2009-01-20 11:48:36.000000000 -0500
2 +++ 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;