IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 8675


Ignore:
Timestamp:
Aug 29, 2006, 12:07:23 PM (20 years ago)
Author:
jhoblitt
Message:

fix a wide range of format string errors

Location:
trunk/ppImage/src
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppImage/src/ppFocus.c

    r7757 r8675  
    1313    pmConfig *config = ppFocusArguments(argc, argv);
    1414    if (config == NULL) {
    15         psErrorStackPrint(stderr, "");
     15        psErrorStackPrint(stderr, " ");
    1616        exit(1);
    1717    }
     
    3434        ppImageOptions *options = ppFocusParseCamera(config, i);
    3535        if (options == NULL) {
    36             psErrorStackPrint(stderr, "");
     36            psErrorStackPrint(stderr, " ");
    3737            exit(1);
    3838        }
     
    4242        //
    4343        if (!ppImageLoop(config, options)) {
    44             psErrorStackPrint(stderr, "");
     44            psErrorStackPrint(stderr, " ");
    4545            exit(1);
    4646        }
  • trunk/ppImage/src/ppFocusGetFWHM.c

    r7757 r8675  
    6969    psVectorExtend (focus, 10, 1);
    7070
    71     psLogMsg ("ppFocus", 4, "focus: %f, fwhm: %f (%d,%d)\n", FOCUS, FWHM, FWHMnum);
     71    psLogMsg ("ppFocus", 4, "focus: %f, fwhm: %f (%d)\n", FOCUS, FWHM, FWHMnum);
    7272
    7373    psFree (view);
  • trunk/ppImage/src/ppImage.c

    r7677 r8675  
    1313    pmConfig *config = ppImageArguments(argc, argv);
    1414    if (config == NULL) {
    15         psErrorStackPrint(stderr, "");
     15        psErrorStackPrint(stderr, " ");
    1616        exit(1);
    1717    }
     
    2121    ppImageOptions *options = ppImageParseCamera(config);
    2222    if (options == NULL) {
    23         psErrorStackPrint(stderr, "");
     23        psErrorStackPrint(stderr, " ");
    2424        exit(1);
    2525    }
     
    2727    // Image Arithmetic Loop
    2828    if (!ppImageLoop(config, options)) {
    29         psErrorStackPrint(stderr, "");
     29        psErrorStackPrint(stderr, " ");
    3030        exit(1);
    3131    }
  • trunk/ppImage/src/ppImageDetrendNonLinear.c

    r6817 r8675  
    6767                if (! concept) {
    6868                    psLogMsg("phase2", PS_LOG_WARN, "Unable to find value of concept %s "
    69                              "for non-linearity correction --- ignored.\n", options->nonLinearSource);
     69                             "for non-linearity correction --- ignored.\n", (char *)options->nonLinearSource);
    7070                    return false;
    7171                }
     
    7474
    7575        if (concept->type != PS_DATA_STRING) {
    76             psLogMsg("phase2", PS_LOG_WARN, "Type for concept %s isn't STRING, as"
     76            psLogMsg("phase2", PS_LOG_WARN, "Type for concept %p isn't STRING, as"
    7777                     " expected for non-linearity correction --- ignored.\n",
    7878                     concept);
  • trunk/ppImage/src/ppMem.c

    r6404 r8675  
    8181    psFree(leaks);
    8282
    83     psLogMsg(__func__, PS_LOG_INFO, "Memory used: %ld\nLargest id: %ld (%ld bytes)", total, index, largest);
     83    psLogMsg(__func__, PS_LOG_INFO, "Memory used: %zd\nLargest id: %ld (%zd bytes)", total, index, largest);
    8484
    8585}
Note: See TracChangeset for help on using the changeset viewer.