Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[orchagent] warning fixes for 32bit arch compilation #1129

Merged
merged 1 commit into from
Nov 19, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion orchagent/aclorch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ bool AclRule::isActionSupported(sai_acl_entry_attr_t action) const
const auto* pTable = m_pAclOrch->getTableByOid(m_tableOid);
if (pTable == nullptr)
{
SWSS_LOG_THROW("ACL table does not exist for oid %lu", m_tableOid);
SWSS_LOG_THROW("ACL table does not exist for oid %" PRIu64, m_tableOid);
}
return m_pAclOrch->isAclActionSupported(pTable->stage, action_type);
}
Expand Down
2 changes: 1 addition & 1 deletion orchagent/qosorch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ sai_object_id_t Dot1pToTcMapHandler::addQosItem(const vector<sai_attribute_t> &a
SWSS_LOG_ERROR("Failed to create dot1p_to_tc map. status: %s", sai_serialize_status(sai_status).c_str());
return SAI_NULL_OBJECT_ID;
}
SWSS_LOG_DEBUG("created QosMap object: 0x%lx", object_id);
SWSS_LOG_DEBUG("created QosMap object: 0x%" PRIx64, object_id);
return object_id;
}

Expand Down