Changeset 2689 in Sophya for trunk/SophyaPI/PIext/pintuple.cc
- Timestamp:
- Apr 26, 2005, 11:52:55 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/pintuple.cc
r2642 r2689 151 151 double xp,yp,xer,yer,wp; 152 152 double xl,yl; 153 int nok,npolyg; 153 long nok; 154 int npolyg; 154 155 155 156 if (!mNT) return; … … 263 264 // Les labels et leurs longueurs -> largeur de la cellule 264 265 char label[64]; 265 sprintf(label, "N=% d (/%d)", nok,mNT->NbLines());266 sprintf(label, "N=%ld (/%ld)", (long)nok, (long)mNT->NbLines()); 266 267 double cellWidth = 1.1 * (double)g->CalcStringWidth(label); 267 268 double xu, yu, cw; … … 298 299 double xp,yp; 299 300 char buff[128]; 300 sprintf(buff,"PINTuple: NLines= %d NCol= %d \n", mNT->NbLines(), mNT->NbColumns()); 301 sprintf(buff,"PINTuple: NLines= %ld NCol= %ld \n", (long)mNT->NbLines(), 302 (long)mNT->NbColumns()); 301 303 info += buff; 302 304 info += mNT->LineHeaderToString();
Note:
See TracChangeset
for help on using the changeset viewer.