]> 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>
Wed, 1 Oct 2025 18:46:48 +0000 (14:46 -0400)
key type is an unsigned.

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
src/auth/Crypto.h

index 792b24e79cf4814212b2143bb96ef169dc728e7b..a52d9e20ba16db96e9a3951591053616ea971a8c 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;