Changeset 1398 for trunk/src/core


Ignore:
Timestamp:
Apr 15, 2009 10:40:00 AM (15 years ago)
Author:
dkearney
Message:

fixing compiler warnings about the size of the pointer. we cast the value to unsigned long, changed the format of the pointer in printf to be long

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/core/RpSimpleBuffer.h

    r1397 r1398  
    445445
    446446    while (curMemb != _nMembStored) {
    447         fprintf(stdout,"_buf[%zu] = :%#x:\n", curMemb,
     447        fprintf(stdout,"_buf[%zu] = :%#lx:\n", curMemb,
    448448            (long unsigned)_buf[curMemb]);
    449449        curMemb += 1;
Note: See TracChangeset for help on using the changeset viewer.