Ignore:
Timestamp:
01/12/17 13:16:48 (8 years ago)
Author:
epyon
Message:
  • getting rid of size_t
  • datatypes now restricted to uint32 size
  • 64-bit compatibility
  • copyright updates where modified
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/core/logger.cc

    r402 r533  
    144144{
    145145        char stamp[16];
    146         size_t ssize = timestamp( stamp );
     146        uint32 ssize = timestamp( stamp );
    147147
    148148#if NV_COMPILER == NV_MSVC
     
    180180{
    181181        char stamp[16];
    182         size_t ssize = timestamp( stamp );
     182        uint32 ssize = timestamp( stamp );
    183183#if 0 // NV_PLATFORM == NV_WINDOWS
    184184        // Turns out WriteFile on Windows is unbuffered and quite slower than fwrite
     
    242242}
    243243
    244 nv::size_t nv::log_sink::timestamp( char* buffer ) const
     244nv::uint32 nv::log_sink::timestamp( char* buffer ) const
    245245{
    246246        uint32 ms = get_system_ms();
Note: See TracChangeset for help on using the changeset viewer.