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

Diff for /pegasus/src/Pegasus/getoopt/getoopt.cpp between version 1.24 and 1.25

version 1.24, 2002/09/11 21:20:24 version 1.25, 2003/04/30 18:26:55
Line 130 
Line 130 
     }     }
     if (valid)     if (valid)
     {     {
         if (!(sscanf (s, "%d", &i)))          Sint64 i64;
           if ( !(sscanf (s, "%" PEGASUS_64BIT_CONVERSION_WIDTH "d", &i64)) ||
                (i64 != Sint64(Sint32(i64))) )
         {         {
             throw TypeMismatchException ();             throw TypeMismatchException ();
         }         }
   
           i = Sint32(i64);
     }     }
     else     else
     {     {
Line 159 
Line 163 
     }     }
     if (valid)     if (valid)
     {     {
         if (!(sscanf (s, "%u", &i)))          Uint64 i64;
           if ( !(sscanf (s, "%" PEGASUS_64BIT_CONVERSION_WIDTH "u", &i64)) ||
                (i64 != Uint64(Uint32(i64))) )
         {         {
             throw TypeMismatchException ();             throw TypeMismatchException ();
         }         }
   
           i = Uint32(i64);
     }     }
     else     else
     {     {


Legend:
Removed from v.1.24  
changed lines
  Added in v.1.25

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2