Changeset 1397
- Timestamp:
- Apr 15, 2009, 10:07:30 AM (15 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/objects/plot/plot.cc
r1386 r1397 39 39 // number of curves in this plot 40 40 size_t curveCnt = p1->count(); 41 std::printf("curveCnt = %zu\n",curveCnt); 41 42 42 43 // retrieve curve from curve name … … 53 54 ylen = c->data(Rappture::Plot::yaxis,&ay); 54 55 55 std::printf("xlen = % u\nylen = %u\n",xlen,ylen);56 std::printf("xlen = %zu\nylen = %zu\n",xlen,ylen); 56 57 std::printf("fmt = %s\n",c->propstr(Rappture::Plot::format,NULL)); 57 58 -
trunk/src/core/RpSimpleBuffer.h
r1100 r1397 412 412 413 413 if (buf == NULL) { 414 fprintf(stderr,"Can't allocate %lu bytes of memory\n", 415 (long unsigned int)nbytes); 414 fprintf(stderr,"Can't allocate %zu bytes of memory\n",nbytes); 416 415 _fileState = false; 417 416 return 0; … … 430 429 431 430 while (curMemb != _nMembStored) { 432 fprintf(stdout,"_buf[%lu] = :%c:\n", (long unsigned int)curMemb, 433 _buf[curMemb]); 431 fprintf(stdout,"_buf[%zu] = :%c:\n", curMemb, _buf[curMemb]); 434 432 curMemb += 1; 435 433 } 436 fprintf(stdout,"_nMembAvl = :% lu:\n", (long unsigned int)_nMembAvl);434 fprintf(stdout,"_nMembAvl = :%zu:\n", _nMembAvl); 437 435 438 436 return *this; … … 447 445 448 446 while (curMemb != _nMembStored) { 449 fprintf(stdout,"_buf[% lu] = :%#x:\n", (long unsigned int)curMemb,450 (unsigned long)_buf[curMemb]);447 fprintf(stdout,"_buf[%zu] = :%#x:\n", curMemb, 448 (long unsigned)_buf[curMemb]); 451 449 curMemb += 1; 452 450 } 453 fprintf(stdout,"_nMembAvl = :% lu:\n", (long unsigned int)_nMembAvl);451 fprintf(stdout,"_nMembAvl = :%zu:\n", _nMembAvl); 454 452 455 453 return *this; -
trunk/src/objects/RpArray1D.h
r1386 r1397 30 30 const char *scale); 31 31 Array1D (const Array1D &o); 32 ~Array1D();32 virtual ~Array1D(); 33 33 34 34 Accessor<const char *> path; … … 68 68 const char *scale); 69 69 Array1DUniform (const Array1DUniform &o); 70 ~Array1DUniform ();70 virtual ~Array1DUniform (); 71 71 72 72 Accessor<const char *> path;
Note: See TracChangeset
for help on using the changeset viewer.