Changeset 1110 for to-imperative/trunk/library/Convert/bytes_to_chars.cc
- Timestamp:
- Aug 6, 2003, 5:46:54 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
to-imperative/trunk/library/Convert/bytes_to_chars.cc
r604 r1110 43 43 Term* p = e_Int.get_first(); 44 44 for (; p < e_Int.get_last(); p++) { 45 if (p->get_type() == type_ short_int) {46 intptr_t t = (( ShortInt*)p)->to_int();45 if (p->get_type() == type_int32) { 46 intptr_t t = ((Int32*)p)->to_int(); 47 47 if (t < 0 || t > WCHAR_MAX) 48 48 RF_LIB_ERROR("Invalid argument");
Note: See TracChangeset
for help on using the changeset viewer.