Core: fixed few coverity issues and warnings

This commit is contained in:
joschiwald
2014-12-07 01:24:00 +01:00
parent 9cda85a388
commit b68b6417f6
55 changed files with 256 additions and 419 deletions

View File

@@ -456,7 +456,7 @@ void WorldSession::HandleDBQueryBulk(WorldPackets::Query::DBQueryBulk& packet)
else
{
TC_LOG_ERROR("network", "CMSG_DB_QUERY_BULK: Entry %u does not exist in datastore: %u", rec.RecordID, packet.TableHash);
response.RecordID = -rec.RecordID;
response.RecordID = -int32(rec.RecordID);
response.Timestamp = time(NULL);
}