IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 29, 2006, 11:39:44 AM (20 years ago)
Author:
jhoblitt
Message:

fix a wide range of format string errors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/concepts/pmConceptsWrite.c

    r8246 r8669  
    140140    switch (item->type) {
    141141    case PS_DATA_STRING:
    142         psTrace("psModules.concepts", 9, "Writing header %s: %s\n", keyword, item->data.V);
     142        psTrace("psModules.concepts", 9, "Writing header %s: %s\n", keyword, item->data.str);
    143143        return psMetadataAddStr(hdu->header, PS_LIST_TAIL, keyword, PS_META_REPLACE, item->comment,
    144144                                item->data.V);
     
    190190        psList *keys = psStringSplit(keywords, " ,;", true); // List of keywords
    191191        if (keys->n != values->n) {
    192             psLogMsg(__func__, PS_LOG_WARN, "Number of keywords (%d) does not match number of values (%d).\n",
     192            psLogMsg(__func__, PS_LOG_WARN, "Number of keywords (%ld) does not match number of values (%ld).\n",
    193193                     keys->n, values->n);
    194194        }
     
    259259                        continue;
    260260                    }
    261                     psTrace("psModules.concepts", 8, "Writing %s to header %s\n", name, cameraItem->data.V);
     261                    psTrace("psModules.concepts", 8, "Writing %s to header %s\n", name, cameraItem->data.str);
    262262                    writeHeader(hdu, cameraItem->data.V, formatted);
    263263                } else if (strcasecmp(source, "VALUE") == 0) {
     
    384384                continue;
    385385            }
    386             psTrace("psModules.concepts", 3, "Writing %s to header %s\n", name, headerItem->data.V);
     386            psTrace("psModules.concepts", 3, "Writing %s to header %s\n", name, headerItem->data.str);
    387387            psMetadataItem *conceptItem = psMetadataLookup(concepts, name); // The item from the concepts
    388388            psMetadataItem *formatted = conceptFormat(spec, conceptItem, cameraFormat, fpa, chip, cell);
Note: See TracChangeset for help on using the changeset viewer.