diff --git a/libwvdrmengine/oemcrypto/test/oemcrypto_test.cpp b/libwvdrmengine/oemcrypto/test/oemcrypto_test.cpp index 066e8311..6e0cdfb3 100644 --- a/libwvdrmengine/oemcrypto/test/oemcrypto_test.cpp +++ b/libwvdrmengine/oemcrypto/test/oemcrypto_test.cpp @@ -201,8 +201,8 @@ TEST_F(OEMCryptoClientTest, VersionNumber) { cout << " OEMCrypto does not support usage tables." << endl; } if (version >= 15) { - cout << " Resource Rating Tier: " - << OEMCrypto_ResourceRatingTier() << endl; + const uint32_t tier = OEMCrypto_ResourceRatingTier(); + cout << " Resource Rating Tier: " << tier << endl; const char* build_info = OEMCrypto_BuildInformation(); ASSERT_NE(nullptr, build_info); ASSERT_TRUE(strnlen(build_info, 256) <= 256)