IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 37007


Ignore:
Timestamp:
Jul 13, 2014, 11:08:51 AM (12 years ago)
Author:
eugene
Message:

ftable needs to handle byte and short columns

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20140610/Ohana/src/tools/src/ftable.c

    r34260 r37007  
    460460      } else {
    461461        for (j = 0; j < Nv; j++) {
     462          if (!strcmp (type, "byte")) {
     463            memcpy (line, &data[i*Nv*Nb + Nb*j], Nb);
     464            fprintf (stdout, "%d ", *(char *)line);
     465          }
     466          if (!strcmp (type, "short")) {
     467            memcpy (line, &data[i*Nv*Nb + Nb*j], Nb);
     468            fprintf (stdout, "%d ", *(short *)line);
     469          }
    462470          if (!strcmp (type, "int")) {
    463471            memcpy (line, &data[i*Nv*Nb + Nb*j], Nb);
Note: See TracChangeset for help on using the changeset viewer.