]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
auth: fix return type
authorPatrick Donnelly <pdonnell@ibm.com>
Mon, 24 Mar 2025 02:42:53 +0000 (22:42 -0400)
committerPatrick Donnelly <pdonnell@ibm.com>
Mon, 22 Sep 2025 16:34:39 +0000 (12:34 -0400)
key type is an unsigned.

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
(cherry picked from commit 3665599fe6a8003be8b88116f7c484bef6aba83b)

src/auth/Crypto.h

index 7bec81aabecf451571ba66d723497649e4843935..b9fbe0a26a507c2663830eb816af24db46a02465 100644 (file)
@@ -143,7 +143,7 @@ public:
     *this = CryptoKey();
   }
 
-  int get_type() const { return type; }
+  unsigned get_type() const { return type; }
   utime_t get_created() const { return created; }
   void print(std::ostream& out) const;