Changeset 11026


Ignore:
Timestamp:
06/15/11 09:57:21 (13 years ago)
Author:
tbretz
Message:
Implemented that even chars are returned as numbers if converted to a string; ToFits will now just ignore string types
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/Converter.cc

    r11017 r11026  
    355355
    356356    ostringstream stream;
    357     stream << t;
     357    stream << (int64_t)t;
    358358    ptr += sizeof(T);
    359359
     
    881881           break;
    882882
     883       if (type=='S')
     884       {
     885           size -= strlen(charSrc)+1;
     886           charSrc += strlen(charSrc)+1;
     887
     888           // copy string until termination
     889//           while (*charSrc)
     890//               *charDest++ = *charSrc++;
     891//
     892//           *charDest++ = *charSrc++;
     893       }
     894
    883895       // string types
    884896       if (string("bsilfdx").find_first_of(type)==string::npos)
Note: See TracChangeset for help on using the changeset viewer.