mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 01:11:29 +00:00
Clean up some compiler warnings with Stop_Return
This commit is contained in:
parent
fb84f7f84f
commit
a4a8a1aba5
@ -2243,7 +2243,7 @@ void Client::AddMoneyToPP(uint32 copper, uint32 silver, uint32 gold, uint32 plat
|
||||
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);
|
||||
|
||||
int32 new_value = m_pp.platinum + platinum;
|
||||
@ -8277,4 +8277,4 @@ void Client::ExpeditionSay(const char *str, int ExpID) {
|
||||
|
||||
mysql_free_result(result);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@ -54,7 +54,7 @@ void Client::AddEXP(uint32 in_add_exp, uint8 conlevel, bool resexp) {
|
||||
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);
|
||||
|
||||
uint32 add_exp = in_add_exp;
|
||||
|
||||
@ -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);
|
||||
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user