Mercurial > pidgin
comparison libpurple/protocols/mxit/profile.c @ 30303:65b97f3cdd01
Make MXit compile in a mingw cross-compile environment.
author | John Bailey <rekkanoryo@rekkanoryo.org> |
---|---|
date | Tue, 27 Jul 2010 15:10:30 +0000 |
parents | 8c586dbcae2d |
children | a8cc50c2279f |
comparison
equal
deleted
inserted
replaced
30302:141fe67d50ee | 30303:65b97f3cdd01 |
---|---|
104 * Returns timestamp field in date & time format (DD-MM-YYYY HH:MM:SS) | 104 * Returns timestamp field in date & time format (DD-MM-YYYY HH:MM:SS) |
105 * | 105 * |
106 * @param msecs The timestamps (milliseconds since epoch) | 106 * @param msecs The timestamps (milliseconds since epoch) |
107 * @return Date & Time in a display'able format. | 107 * @return Date & Time in a display'able format. |
108 */ | 108 */ |
109 static const char* datetime( int64_t msecs ) | 109 static const char* datetime( gint64 msecs ) |
110 { | 110 { |
111 time_t secs = msecs / 1000; | 111 time_t secs = msecs / 1000; |
112 | 112 |
113 struct tm t; | 113 struct tm t; |
114 localtime_r( &secs, &t ); | 114 localtime_r( &secs, &t ); |