Remove build warning messages 54/318054/2
authorHwankyu Jhun <h.jhun@samsung.com>
Mon, 13 Jan 2025 00:29:07 +0000 (09:29 +0900)
committerHwanKyu Jhun <h.jhun@samsung.com>
Mon, 13 Jan 2025 03:21:45 +0000 (03:21 +0000)
This patch add the type casting to remove build warning messages.

Change-Id: I3f3ed51f5a1713385178588ab0fdb0eaf84583bb
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/launchpad-process-pool/debug.cc

index ef6b7ae1c73790c80c587259c4b8cef1ebb93de7..dd71f1f1b83d87a3f554724cfa5ed0190fc4535d 100644 (file)
@@ -47,7 +47,7 @@ constexpr const char kDlpAttachArg[] = "__DLP_ATTACH_ARG__";
 std::vector<std::string> GetStringArray(const tizen_base::Bundle& b,
                                         const std::string& key) {
   std::vector<std::string> values;
-  if (b.GetType(key) & BUNDLE_TYPE_ARRAY) {
+  if (b.GetType(key) & static_cast<bundle_type>(BUNDLE_TYPE_ARRAY)) {
     values = b.GetStringArray(key);
   } else {
     std::string value = b.GetString(key);