lemon/bits/item_reader.h
changeset 2389 df6a32249b46
parent 2254 50cb2b90daa9
child 2391 14a343be7a5a
equal deleted inserted replaced
8:f7d078cd8771 9:6875e3e13ffd
   592       default:
   592       default:
   593         { 
   593         { 
   594           int temp;          
   594           int temp;          
   595           if (!(is >> temp)) 
   595           if (!(is >> temp)) 
   596             throw DataFormatError("DefaultReader<char> format error");
   596             throw DataFormatError("DefaultReader<char> format error");
   597           value = (char)temp;
   597           value = static_cast<char>(temp);
   598           break;
   598           break;
   599         }
   599         }
   600       }
   600       }
   601     }    
   601     }    
   602   };
   602   };