IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 10, 2008, 8:22:12 AM (18 years ago)
Author:
eugene
Message:

warp_id is now a psS64 not a string

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/src/warptoolConfig.c

    r18336 r18461  
    461461
    462462{
    463     psString str = NULL;
     463    psS64 warp_id = -1;
    464464    bool status = false;
    465     if ((str = psMetadataLookupStr(&status, config->args, "-warp_id"))) {
    466         if (!psMetadataAddS64(config->where, PS_LIST_TAIL, "warp_id", 0, "==", (psS64)atoll(str))) {
     465    if ((warp_id = psMetadataLookupS64(&status, config->args, "-warp_id"))) {
     466        if (!psMetadataAddS64(config->where, PS_LIST_TAIL, "warp_id", 0, "==", warp_id)) {
    467467            psError(PS_ERR_UNKNOWN, false, "failed to add item warp_id");
    468468            psFree(config);
Note: See TracChangeset for help on using the changeset viewer.