Changeset 4604 for source/ariba


Ignore:
Timestamp:
Jun 29, 2009, 2:45:01 PM (15 years ago)
Author:
Christoph Mayer
Message:

unspec identifier handling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/utility/types/Identifier.h

    r4602 r4604  
    571571        // calculate length of key
    572572        uint16_t len = array_size*sizeof(mp_limb_t);
    573         uint8_t unspec = isUnspec;
     573        uint8_t unspec = (isUnspec ? 1 : 0);
    574574
    575575        // only serialize the lower 16 bits of keyLength
     
    590590
    591591        // when deserializing reset unspec flag
    592         if (X.isDeserializer()) isUnspec = unspec;
     592        if (X.isDeserializer()) isUnspec = (unspec == 1 ? true : false);
    593593} sznEnd();
    594594
Note: See TracChangeset for help on using the changeset viewer.