--- Amaya/thotlib/dialogue/attrmenu.c.orig 2007-10-10 07:35:34.000000000 +0100 +++ Amaya/thotlib/dialogue/attrmenu.c 2007-10-10 07:40:44.000000000 +0100 @@ -2097,7 +2097,7 @@ { case AtEnumAttr: case AtNumAttr: - pAttrNew->AeAttrValue = (int)value; + pAttrNew->AeAttrValue = (long)value; /* applique les attributs a la partie selectionnee */ AttachAttrToRange (pAttrNew, lastChar, firstChar, lastSel, firstSel, pDoc, TRUE);