Changeset 6422

Show
Ignore:
Timestamp:
07/04/08 07:01:01 (3 months ago)
Author:
flynd
Message:

Cast time stamp so it's the correct integer type regardless of what time_t happens to be.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/licq/src/message.cpp

    r6418 r6422  
    131131{ 
    132132  return sprintf(szOut, "[ %c | %04d | %04d | %04d | %lu ]\n", 
    133           _nDir == D_RECEIVER ? 'R' : 'S', 
    134           m_nSubCommand, m_nCommand, (unsigned short)(m_nFlags >> 16), m_tTime); 
     133      _nDir == D_RECEIVER ? 'R' : 'S', m_nSubCommand, m_nCommand, 
     134      (unsigned short)(m_nFlags >> 16), (unsigned long)m_tTime); 
    135135} 
    136136