IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 30, 2009, 2:26:44 PM (17 years ago)
Author:
eugene
Message:

fixed API errors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/sys/tap_psString.c

    r17515 r24023  
    420420
    421421        //psStringAppend should return 0 for NULL input format
    422         outSize = psStringAppend(test, nullTest);
     422        // note that only a string literal is allowed for the NULL due to gcc change
     423        outSize = psStringAppend(test, NULL);
    423424        ok(outSize == 0, "psStringAppend to return 0 for NULL input format");
    424425
     
    428429
    429430        //psStringPrepend should return 0 for NULL input format
    430         outSize = psStringPrepend(test, nullTest);
     431        // note that only a string literal is allowed for the NULL due to gcc change
     432        outSize = psStringPrepend(test, NULL);
    431433        ok(outSize == 0, "psStringPrepend to return 0 for NULL input format");
    432434
Note: See TracChangeset for help on using the changeset viewer.