IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 28, 2010, 12:27:54 PM (16 years ago)
Author:
Paul Price
Message:

Fixing type to avoid error on 32 bit machine.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/psphotStackOptions.c

    r28013 r28160  
    4040    options->psfs        = psArrayAlloc(num);
    4141    options->sourceLists = psArrayAlloc(num); // Individual lists of sources for matching
    42     options->kernels     = psArrayAlloc(num); 
    43     options->regions     = psArrayAlloc(num); 
     42    options->kernels     = psArrayAlloc(num);
     43    options->regions     = psArrayAlloc(num);
    4444
    4545    options->inputMask   = psVectorAlloc(num, PS_TYPE_VECTOR_MASK); // Mask for inputs
     
    7777    switch (options->convolveSource) {
    7878      case PSPHOT_CNV_SRC_AUTO:
    79         fileSrc = fileCnv ? fileCnv : fileRaw;
    80         break;
     79        fileSrc = fileCnv ? fileCnv : fileRaw;
     80        break;
    8181
    8282      case PSPHOT_CNV_SRC_RAW:
    83         fileSrc = fileRaw;
    84         break;
     83        fileSrc = fileRaw;
     84        break;
    8585
    8686      case PSPHOT_CNV_SRC_CNV:
    87         fileSrc = fileCnv;
    88         break;
     87        fileSrc = fileCnv;
     88        break;
    8989
    9090      default:
    91         psAbort("impossible case");
     91        psAbort("impossible case");
    9292    }
    9393    if (!fileSrc) {
    94         psError(PSPHOT_ERR_CONFIG, true, "desired convolution source is missing (cnv : %llx, raw : %llx)", (long long) fileCnv, (long long) fileRaw);
     94        psError(PSPHOT_ERR_CONFIG, true, "desired convolution source is missing (cnv : %p, raw : %p)", fileCnv, fileRaw);
    9595    }
    96    
     96
    9797    return fileSrc;
    9898}
Note: See TracChangeset for help on using the changeset viewer.