This is an automated email from the ASF dual-hosted git repository.

zwoop pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/9.0.x by this push:
     new 8afbe11  Fixed const issue with magick plugin
8afbe11 is described below

commit 8afbe11ff316e97c34eb1dd1bf69a4c945c5cf70
Author: Bryan Call <bc...@apache.org>
AuthorDate: Tue Aug 27 15:58:51 2019 -0700

    Fixed const issue with magick plugin
    
    (cherry picked from commit 58a1451ba0ab6a06308dc6ac405da74395f9dff8)
---
 plugins/experimental/magick/magick.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/plugins/experimental/magick/magick.cc 
b/plugins/experimental/magick/magick.cc
index 00f4755..2e6a18b 100644
--- a/plugins/experimental/magick/magick.cc
+++ b/plugins/experimental/magick/magick.cc
@@ -184,7 +184,7 @@ struct EVPKey {
   EVPKey() : key(EVP_PKEY_new()) { assert(nullptr != key); }
 
   bool
-  assign(const char *const k) const
+  assign(char *k) const
   {
     assert(nullptr != k);
     const int rc = EVP_PKEY_assign_RSA(key, k);
@@ -196,7 +196,7 @@ struct EVPKey {
   bool
   assign(T &t)
   {
-    return assign(reinterpret_cast<const char *>(t));
+    return assign(reinterpret_cast<char *>(t));
   }
 };
 

Reply via email to