Changeset 2690 in Sophya for trunk/SophyaPI


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

re-petite modif int->long et format printf/sprintf pintuple.cc - Reza 26/4/2005

File:
1 edited

Legend:

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

    r2689 r2690  
    296296if ( (xK < 0) || (yK < 0) )  return;
    297297
    298 int ncnt = 0;
     298long ncnt = 0;
    299299double xp,yp;
    300300char buff[128];
     
    312312  }
    313313if (ncnt >= 101) info += " .... \n";
    314 sprintf(buff," %d points inside selected region \n", ncnt);
     314sprintf(buff," %ld points inside selected region \n", (long)ncnt);
    315315info += buff;
    316316// printf("PINTuple::AppendTextInfo()-DBG %g %g %g %g - %d\n", xmin, ymin, xmax, ymax, ncnt);
Note: See TracChangeset for help on using the changeset viewer.