summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TEEStub/PropertyAccess/PropertyApi.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/TEEStub/PropertyAccess/PropertyApi.cpp b/TEEStub/PropertyAccess/PropertyApi.cpp
index a3703fa..42aa63e 100644
--- a/TEEStub/PropertyAccess/PropertyApi.cpp
+++ b/TEEStub/PropertyAccess/PropertyApi.cpp
@@ -79,7 +79,7 @@ TEE_Result InitPropertyModule(const std::string& uuid,
const std::string& taDir, uint32_t clientLogin) {
PropertyValue pv;
pv.type = "identity";
- pv.value = "" + clientLogin;
+ pv.value = std::to_string(clientLogin);
clientLoginGlobal = clientLogin;
thisTAUUIDGlobal = uuid;
@@ -332,7 +332,7 @@ void TEE_StartPropertyEnumerator(TEE_PropSetHandle enumerator,
case TEE_PROPSET_CURRENT_CLIENT: {
PropertyValue pv;
pv.type = "identity";
- pv.value = "" + clientLoginGlobal;
+ pv.value = std::to_string(clientLoginGlobal);
if(!_allowPropertyAccess)
{
break;