Changeset 1110


Ignore:
Timestamp:
Aug 6, 2003, 5:46:54 PM (17 years ago)
Author:
luba
Message:
  • uses type_int32
Location:
to-imperative/trunk/library
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • to-imperative/trunk/library/Class/int_q.cc

    r978 r1110  
    1919    Term* p = e_Exp.get_first();
    2020    unsigned t = p->get_type();
    21     if (t != type_int && t != type_short_int)
     21    if (t != type_int && t != type_int32)
    2222      retfail;
    2323  }
  • 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.