Ignore:
Timestamp:
Dec 10, 2008, 7:31:39 PM (16 years ago)
Author:
rosiere
Message:

Almost complete design
with Test and test platform

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/Environment/Sim2OS/src/Sim2OS_service_close.cpp

    r81 r88  
    1212      }
    1313   
    14     int    fd     = (int)    arguments[1];
     14    int    fd     = static_cast<int>(reinterpret_cast<int64_t>(arguments[1]));
    1515    void * result = (void *) close(fd);
    1616    error         = errno;
     
    1818    std::cout << "\n\t***** service : close         *****" << std::endl;
    1919    std::cout << "\tfd        : " << (unsigned int) fd     << std::endl;
    20     std::cout << "\tresult    : " << (unsigned int) result << std::endl;
     20    std::cout << "\tresult    : " << static_cast<int32_t>(reinterpret_cast<int64_t>(result)) << std::endl;
    2121    std::cout << "\terrno     : " << (unsigned int) error  << std::endl;
    2222   
Note: See TracChangeset for help on using the changeset viewer.