- fixed compiler warnings in linux 32 gcc
This commit is contained in:
parent
ff9faf7a4a
commit
4478b8d1df
|
@ -389,7 +389,7 @@ void FactionThread::execute() {
|
||||||
bool changedActiveCommand = unit->isChangedActiveCommand();
|
bool changedActiveCommand = unit->isChangedActiveCommand();
|
||||||
|
|
||||||
char szBuf[8096]="";
|
char szBuf[8096]="";
|
||||||
snprintf(szBuf,8096,"unit->needToUpdate() returned: %d updateProgressValue: %lld speed: %lld changedActiveCommand: %d df: %lld hf: %lld",update,updateProgressValue,speed,changedActiveCommand,df,hf);
|
snprintf(szBuf,8096,"unit->needToUpdate() returned: %d updateProgressValue: %lld speed: %lld changedActiveCommand: %d df: %lld hf: %lld",update,(long long int)updateProgressValue,(long long int)speed,changedActiveCommand,(long long int)df,(long long int)hf);
|
||||||
unit->logSynchDataThreaded(__FILE__,__LINE__,szBuf);
|
unit->logSynchDataThreaded(__FILE__,__LINE__,szBuf);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -415,7 +415,7 @@ void FactionThread::execute() {
|
||||||
bool changedActiveCommand = unit->isChangedActiveCommand();
|
bool changedActiveCommand = unit->isChangedActiveCommand();
|
||||||
|
|
||||||
char szBuf[8096]="";
|
char szBuf[8096]="";
|
||||||
snprintf(szBuf,8096,"unit->needToUpdate() returned: %d updateProgressValue: %lld speed: %lld changedActiveCommand: %d df: %lld hf: %lld",update,updateProgressValue,speed,changedActiveCommand,df,hf);
|
snprintf(szBuf,8096,"unit->needToUpdate() returned: %d updateProgressValue: %lld speed: %lld changedActiveCommand: %d df: %lld hf: %lld",update,(long long int)updateProgressValue,(long long int)speed,changedActiveCommand,(long long int)df,(long long int)hf);
|
||||||
unit->logSynchDataThreaded(__FILE__,__LINE__,szBuf);
|
unit->logSynchDataThreaded(__FILE__,__LINE__,szBuf);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user