pEp_utility.cpp
changeset 219 03531c4d3fda
parent 217 7ebb44e5bf85
child 223 490e6399476b
     1.1 --- a/pEp_utility.cpp	Wed Nov 23 17:04:34 2016 +0100
     1.2 +++ b/pEp_utility.cpp	Wed Nov 23 20:22:17 2016 +0100
     1.3 @@ -79,7 +79,7 @@
     1.4              _ident->Lang = utf16_bstr(this->lang);
     1.5              _ident->UserName = utf16_bstr(this->username);
     1.6              _ident->UserId = utf16_bstr(this->user_id);
     1.7 -			_ident->Flags = this->flags;
     1.8 +			_ident->Flags = (pEpIdentityFlags) this->flags;
     1.9  
    1.10              return _ident;
    1.11          }
    1.12 @@ -103,7 +103,7 @@
    1.13                  ident_s->CommType = (pEpComType) ident->comm_type;
    1.14                  if (ident->lang)
    1.15                      ident_s->Lang = utf16_bstr(ident->lang);
    1.16 -				ident_s->Flags = (int) ident->flags;
    1.17 +				ident_s->Flags = (pEpIdentityFlags) ident->flags;
    1.18              }
    1.19          }
    1.20