Changeset 1106 for to-imperative/trunk/runtime/rf_char.cc
- Timestamp:
- Aug 6, 2003, 5:30:09 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
to-imperative/trunk/runtime/rf_char.cc
r835 r1106 24 24 char const* saved_locale = null; 25 25 if (_locale != null) { 26 26 27 saved_locale = setlocale(LC_CTYPE, null); 27 28 setlocale(LC_CTYPE, _locale); … … 105 106 uintptr_t temp; 106 107 for (; p < q; p++, r++) { 107 temp = uintptr_t((( ShortInt*)p)->to_int());108 temp = uintptr_t(((Int32*)p)->to_int()); 108 109 new(r) Char(temp); 109 110 }; … … 119 120 Term* r = e.get_first(); 120 121 for (; p < q; p++, r++) { 121 new(r) ShortInt(((Char*)p)->uint_data2);122 new(r) Int32(((Char*)p)->uint_data2); 122 123 } 123 124 return e;
Note: See TracChangeset
for help on using the changeset viewer.