Ignore:
Timestamp:
Dec 9, 2014 10:32:28 PM (7 years ago)
Author:
ldelgass
Message:

Preallocate full size Rappture buffer for data payloads

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nanovis/branches/1.1/NvZincBlendeReconstructor.cpp

    r3502 r4830  
    369369
    370370ZincBlendeVolume *
    371 NvZincBlendeReconstructor::loadFromMemory(void *dataBlock)
     371NvZincBlendeReconstructor::loadFromMemory(const void *dataBlock)
    372372{
    373373    ZincBlendeVolume *volume = NULL;
     
    377377    int version = 1;
    378378
    379     unsigned char *stream = (unsigned char *)dataBlock;
     379    const unsigned char *stream = (const unsigned char *)dataBlock;
    380380    char str[5][20];
    381381    do {
     
    469469}
    470470
    471 void NvZincBlendeReconstructor::getLine(unsigned char*& stream)
     471void NvZincBlendeReconstructor::getLine(const unsigned char*& stream)
    472472{
    473473    char ch;
Note: See TracChangeset for help on using the changeset viewer.