Clean up some compiler warnings with Stop_Return

This commit is contained in:
Michael Cook (mackal)
2014-08-21 17:54:49 -04:00
parent fb84f7f84f
commit a4a8a1aba5
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -642,7 +642,7 @@ void Client::FinishTrade(Mob* tradingWith, ServerPacket* qspack, bool finalizer)
struct timeval read_time;
char buffer[50];
gettimeofday(&read_time, 0);
sprintf(buffer, "%i.%i \n", read_time.tv_sec, read_time.tv_usec);
sprintf(buffer, "%li.%li \n", read_time.tv_sec, read_time.tv_usec);
this->SetEntityVariable("Stop_Return", buffer);
}