explicit PEP_rating cast ENGINE-179
authorEdouard Tisserant <edouard@pep-project.org>
Wed, 07 Jun 2017 14:46:49 +0200
branchENGINE-179
changeset 2509b03d0b58aab
parent 249 2ac6226ff198
child 252 abfbe0f74ce1
explicit PEP_rating cast
CpEpEngine.cpp
     1.1 --- a/CpEpEngine.cpp	Wed Jun 07 13:49:37 2017 +0200
     1.2 +++ b/CpEpEngine.cpp	Wed Jun 07 14:46:49 2017 +0200
     1.3 @@ -960,7 +960,7 @@
     1.4      ::stringlist_t *_keylist = new_stringlist(x_keylist);
     1.5      ::PEP_rating _rating = PEP_rating_undefined;
     1.6  
     1.7 -    PEP_STATUS status = ::re_evaluate_message_rating(get_session(), _msg, _keylist, x_enc_status, &_rating);
     1.8 +    PEP_STATUS status = ::re_evaluate_message_rating(get_session(), _msg, _keylist, (PEP_rating)x_enc_status, &_rating);
     1.9  
    1.10      ::free_message(_msg);
    1.11