Index: presentation/style.c =================================================================== RCS file: /sources/cvsroot/Amaya/thotlib/presentation/style.c,v retrieving revision 1.204 diff -U 8 -r1.204 style.c --- presentation/style.c 15 Jul 2010 14:04:34 -0000 1.204 +++ presentation/style.c 11 Dec 2010 14:21:11 -0000 @@ -3196,17 +3196,17 @@ pCntr->CnItem[pCntr->CnNItems].CiCondAttrPresent = TRUE; pCntr->CnItem[pCntr->CnNItems].CiCondAttrTextValue = NULL; pCntr->CnItem[pCntr->CnNItems].CiCondAttrIntValue = 0; attrType.AttrSSchema = ctxt->schema; attrType.AttrTypeNum = ctxt->attrType[0]; kind = TtaGetAttributeKind (attrType); if (kind == 0 || kind == 1) /* enumerated or integer value */ - pCntr->CnItem[pCntr->CnNItems].CiCondAttrIntValue = (int)ctxt->attrText[0]; + pCntr->CnItem[pCntr->CnNItems].CiCondAttrIntValue = (long int)ctxt->attrText[0]; else if (kind == 2) /* character string value */ pCntr->CnItem[pCntr->CnNItems].CiCondAttrTextValue = TtaStrdup(ctxt->attrText[0]); } else pCntr->CnItem[pCntr->CnNItems].CiCondAttr = 0; pCntr->CnNItems++; }