IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 5528


Ignore:
Timestamp:
Nov 16, 2005, 1:00:49 PM (21 years ago)
Author:
eugene
Message:

minor fixes to work with psLib rel8_0

Location:
trunk/psphot
Files:
2 added
2 edited

Legend:

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

    r5350 r5528  
    257257    newPoly->coeffErr = (psF64 **)psAlloc(nXterm * sizeof(psF64 *));
    258258    newPoly->mask = (psMaskType **)psAlloc(nXterm * sizeof(psMaskType *));
    259     // XXX EAM : this is an error in the definition of the polynomial mask
    260     //           (should be psU8 not char)
     259
    261260    for (x = 0; x < nXterm; x++) {
    262261        newPoly->coeff[x] = (psF64 *)psAlloc(nYterm * sizeof(psF64));
    263262        newPoly->coeffErr[x] = (psF64 *)psAlloc(nYterm * sizeof(psF64));
    264         newPoly->mask[x] = (char *)psAlloc(nYterm * sizeof(char));
     263        newPoly->mask[x] = (psU8 *)psAlloc(nYterm * sizeof(char));
    265264    }
    266265    for (x = 0; x < nXterm; x++) {
  • trunk/psphot/src/psphotArguments.c

    r5350 r5528  
    55psMetadata *psphotArguments (int *argc, char **argv) {
    66
    7   int N, Nfail;
     7  int N;
     8  unsigned int Nfail;
    89  int mode = PS_DATA_STRING | PS_META_REPLACE;
    910
Note: See TracChangeset for help on using the changeset viewer.