c++: fix return value type
authorMichael Wallner <mike@php.net>
Thu, 30 Jan 2020 11:16:11 +0000 (12:16 +0100)
committerMichael Wallner <mike@php.net>
Thu, 30 Jan 2020 11:16:11 +0000 (12:16 +0100)
libmemcached/storage.cc

index 079fba1d62ac4a785f85de6115a66be53592a8a6..61ca8270cce22d77ac8db9f7c4c32c81709b9329 100644 (file)
@@ -74,7 +74,7 @@ static inline const char *storage_op_string(memcached_storage_action_t verb)
   return "set ";
 }
 
-static inline uint8_t can_by_encrypted(const memcached_storage_action_t verb)
+static inline bool can_by_encrypted(const memcached_storage_action_t verb)
 {
   switch (verb)
   {