IOSAD-172 Less casting IOSAD-172
authorDirk Zimmermann <dz@pep.security>
Sat, 27 Jun 2020 14:32:16 +0200
branchIOSAD-172
changeset 1509e1bcdfecf40b
parent 1508 b9213edd31c4
child 1510 32a247365edb
IOSAD-172 Less casting
pEpObjCAdapter/PEPInternalSession.m
     1.1 --- a/pEpObjCAdapter/PEPInternalSession.m	Sat Jun 27 14:31:22 2020 +0200
     1.2 +++ b/pEpObjCAdapter/PEPInternalSession.m	Sat Jun 27 14:32:16 2020 +0200
     1.3 @@ -113,7 +113,7 @@
     1.4  
     1.5      __block PEPRating internalRating = PEPRatingUndefined;
     1.6  
     1.7 -    PEPStatus theStatus = [self runWithPasswords:^PEP_STATUS(PEP_SESSION session) {
     1.8 +    PEPStatus theStatus = (PEPStatus) [self runWithPasswords:^PEP_STATUS(PEP_SESSION session) {
     1.9          return decrypt_message(session,
    1.10                                 _src,
    1.11                                 &_dst,
    1.12 @@ -198,7 +198,7 @@
    1.13          theKeys = PEP_arrayToStringlist(xKeyList);
    1.14      }
    1.15  
    1.16 -    PEPStatus theStatus = [self runWithPasswords:^PEP_STATUS(PEP_SESSION session) {
    1.17 +    PEPStatus theStatus = (PEPStatus) [self runWithPasswords:^PEP_STATUS(PEP_SESSION session) {
    1.18          return re_evaluate_message_rating(session,
    1.19                                            _src,
    1.20                                            theKeys,