(file) Return to BinaryStreamer.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Common / Attic

Diff for /pegasus/src/Pegasus/Common/Attic/BinaryStreamer.cpp between version 1.17 and 1.18

version 1.17, 2005/05/19 11:30:05 version 1.18, 2005/05/20 15:59:08
Line 126 
Line 126 
  
 void BinaryStreamer::append(Array<char>& out, Boolean b) void BinaryStreamer::append(Array<char>& out, Boolean b)
 { {
    char rs=(b==true);    out.append((char*) &b,sizeof(Boolean));
    out.append(rs);  
 } }
  
  
Line 1300 
Line 1299 
                memcpy(&b, ar + pos, sizeof(Boolean));                memcpy(&b, ar + pos, sizeof(Boolean));
                //val.set(*(Boolean*)(ar+pos));                //val.set(*(Boolean*)(ar+pos));
                val.set(b);                val.set(b);
                pos++;                 pos+=sizeof(Boolean);
                break;                break;
             case CIMTYPE_SINT8:             case CIMTYPE_SINT8:
               {               {


Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2