fixed weird bug where compiler should have told me of the conversion issue

This commit is contained in:
Mark Vejvoda
2010-06-02 20:06:49 +00:00
parent 8ebd901dfa
commit d16be3ba07

View File

@@ -81,7 +81,7 @@ std::string Command::toString() const {
if(unitRef.getUnitId() >= 0) {
//SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__, __LINE__);
result += ", unitRef.getUnit() id = " + unitRef.getUnitId();
result += ", unitRef.getUnit() id = " + intToStr(unitRef.getUnitId());
}
//SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__, __LINE__);