Ignore:
Timestamp:
Oct 7, 2008 2:55:05 PM (16 years ago)
Author:
dkearney
Message:

changing longs back to int, long = 64 on 64bit archs and 32 on 32bit archs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/vizservers/nanovis/VolumeRenderer.cpp

    r1111 r1177  
    903903    FILE *file;
    904904    unsigned short int bfType;
    905     long int bfOffBits;
     905    int bfOffBits;
    906906    short int biPlanes;
    907907    short int biBitCount;
    908     long int biSizeImage;
     908    int biSizeImage;
    909909    int width, height;
    910910    int i;
     
    934934   
    935935    /* get the position of the actual bitmap data */
    936     if (!fread(&bfOffBits, sizeof(long int), 1, file)) {
     936    if (!fread(&bfOffBits, sizeof(int), 1, file)) {
    937937        assert(false);
    938938        //printf("Error reading file!\n");
Note: See TracChangeset for help on using the changeset viewer.