summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikolai Merinov <n.merinov@samsung.com>2019-02-06 17:33:10 +0300
committerNikolai Merinov <n.merinov@samsung.com>2019-02-06 17:54:11 +0300
commit50dc998eba9281870a91b468d7e324909de304d7 (patch)
tree6958b2e24731a474cb6423e472fdcf0064a4bdde
parent004d06d8fd1d129bc11cfcd39d7805e1cb9bbf38 (diff)
downloadtef-simulator-sandbox/nmerinov/llvm.tar.gz
tef-simulator-sandbox/nmerinov/llvm.tar.bz2
tef-simulator-sandbox/nmerinov/llvm.zip
Fix generation of user id field valuesandbox/nmerinov/llvm
-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 dfe8210..885eb06 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;
@@ -333,7 +333,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;