Ignore:
Timestamp:
Aug 6, 2003, 5:46:54 PM (17 years ago)
Author:
luba
Message:
  • uses type_int32
File:
1 edited

Legend:

Unmodified
Added
Removed
  • to-imperative/trunk/library/Convert/bytes_to_chars.cc

    r604 r1110  
    4343  Term* p = e_Int.get_first();
    4444  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();
    4747      if (t < 0 || t > WCHAR_MAX)
    4848        RF_LIB_ERROR("Invalid argument");
Note: See TracChangeset for help on using the changeset viewer.