IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 9, 2008, 2:52:13 PM (18 years ago)
Author:
Paul Price
Message:

cam_id is S64.

File:
1 edited

Legend:

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

    r18336 r18453  
    503503
    504504{
    505     psString str = NULL;
     505    psS64 cam_id = -1;
    506506    bool status = false;
    507     if ((str = psMetadataLookupStr(&status, config->args, "-cam_id"))) {
    508         if (!psMetadataAddS64(config->where, PS_LIST_TAIL, "cam_id", 0, "==", (psS64)atoll(str))) {
     507    if ((cam_id = psMetadataLookupS64(&status, config->args, "-cam_id"))) {
     508        if (!psMetadataAddS64(config->where, PS_LIST_TAIL, "cam_id", 0, "==", cam_id)) {
    509509            psError(PS_ERR_UNKNOWN, false, "failed to add item cam_id");
    510510            psFree(config);
Note: See TracChangeset for help on using the changeset viewer.