Silence Clang warning.

Clang warns about bitwise operators on bools.  Cast to int silences
the warning without introducing short circut logic.

Change-Id: I6e25138e1acf4a5562d3925ea5b2fcef3addb783


[ROCm/ROCR-Runtime commit: 4b0c94cfe8]
Tá an tiomantas seo le fáil i:
Sean Keely tiomanta 2021-10-14 23:56:58 -05:00
1 tuismitheoir 2a0cdb73f3
tiomantas f5fcc610b7
1 comhad athraithe
+1 -1
@@ -73,7 +73,7 @@ struct AqlPacket {
}
bool IsValid() const {
return (type() <= HSA_PACKET_TYPE_BARRIER_OR) & (type() != HSA_PACKET_TYPE_INVALID);
return int(type() <= HSA_PACKET_TYPE_BARRIER_OR) & (type() != HSA_PACKET_TYPE_INVALID);
}
std::string string() const {