]> git.mxchange.org Git - quix0rs-blobwars.git/commit
Use time_t to store time data.
authorRaphael Kubo da Costa <rakuco@FreeBSD.org>
Fri, 4 Dec 2015 16:10:45 +0000 (14:10 -0200)
committerGuus Sliepen <guus@debian.org>
Fri, 4 Dec 2015 20:04:50 +0000 (21:04 +0100)
commit7611c488c2d06a6bdbe5f7b26a47e15f1bd55eb8
treef24b4cb0ffea500d028af6a1c3c9e633767cc195
parentb79027bdcbb7bc5de3ecd7e4e2665d30727e8c8d
Use time_t to store time data.

This fixes the build on 32-bit FreeBSD releases, which were failing like this:

src/CReplayData.cpp: In member function 'void ReplayData::printReplayInformation()':
src/CReplayData.cpp:41: error: invalid conversion from 'long int*' to 'const time_t*'
src/CReplayData.cpp:41: error:   initializing argument 1 of 'tm* localtime(const time_t*)'
src/CReplayDataHeader.h