Changeset 2689 in Sophya for trunk/SophyaPI/PIext/pintuple.cc


Ignore:
Timestamp:
Apr 26, 2005, 11:52:55 AM (20 years ago)
Author:
ansari
Message:

Suite adaptation a modif interface_ntuple (remplacement int par sa_size_t (oublie ds implementation specifique pour classes template)) et suppression warning de compil pour format printf/sprintf ds pawexecut.cc , pintuple.cc - Reza 26/4/2005

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PIext/pintuple.cc

    r2642 r2689  
    151151double xp,yp,xer,yer,wp;
    152152double xl,yl;
    153 int nok,npolyg;
     153long nok;
     154int npolyg;
    154155
    155156if (!mNT) return;
     
    263264  // Les labels et leurs longueurs -> largeur de la cellule
    264265  char label[64];
    265   sprintf(label, "N=%d (/%d)", nok, mNT->NbLines());
     266  sprintf(label, "N=%ld (/%ld)", (long)nok, (long)mNT->NbLines());
    266267  double cellWidth =   1.1 * (double)g->CalcStringWidth(label);
    267268  double xu, yu, cw;
     
    298299double xp,yp;
    299300char buff[128];
    300 sprintf(buff,"PINTuple: NLines= %d  NCol= %d \n", mNT->NbLines(),  mNT->NbColumns());
     301sprintf(buff,"PINTuple: NLines= %ld  NCol= %ld \n", (long)mNT->NbLines(), 
     302        (long)mNT->NbColumns());
    301303info += buff;
    302304info += mNT->LineHeaderToString();
Note: See TracChangeset for help on using the changeset viewer.