Fix build warning using gcc 13 78/315578/1 accepted/tizen_9.0_unified accepted/tizen_unified_dev accepted/tizen_unified_toolchain tizen_9.0 accepted/tizen/9.0/unified/20241030.232833 accepted/tizen/unified/20240816.171344 accepted/tizen/unified/dev/20240819.095604 accepted/tizen/unified/toolchain/20241004.102054 accepted/tizen/unified/x/20240819.023422 accepted/tizen/unified/x/asan/20241014.000456 tizen_9.0_m2_release
authorYoungHun Kim <yh8004.kim@samsung.com>
Mon, 5 Aug 2024 02:13:00 +0000 (11:13 +0900)
committerYoungHun Kim <yh8004.kim@samsung.com>
Mon, 5 Aug 2024 02:13:03 +0000 (11:13 +0900)
Change-Id: I7c8e6ecaa39cc12c09609e4a0dbe1df988de7c30

packaging/libmm-wfd.spec
src/mm_wfd_sink_attrs.c

index 066211a47f06ae2a2df6d16e27455a010b53d63d..afea7c47124d73a0597d8087bcbb10113189dd8b 100644 (file)
@@ -1,6 +1,6 @@
 Name:       libmm-wfd
 Summary:    Multimedia Framework Wifi-Display Library
-Version:    0.4.1
+Version:    0.4.2
 Release:    0
 Group:      System/Libraries
 License:    Apache-2.0
index a0984a50cbace1dad80a0c56cb26f735e0824d07..f949c34bb577623d628c2db9506df91336d144d3 100644 (file)
@@ -608,9 +608,9 @@ _mmwfd_get_attributes_info(MMHandleType handle,  const char *attribute_name, MMW
 
        memset(dst_info, 0x00, sizeof(MMWfdAttrsInfo));
 
-       dst_info->type = src_info.type;
-       dst_info->flag = src_info.flag;
-       dst_info->validity_type = src_info.validity_type;
+       dst_info->type = (MMWfdAttrsType)src_info.type;
+       dst_info->flag = (MMWfdAttrsFlag)src_info.flag;
+       dst_info->validity_type = (MMWfdAttrsValidType)src_info.validity_type;
 
        switch (src_info.validity_type) {
        case MM_ATTRS_VALID_TYPE_INT_ARRAY: