Fix build warning using gcc 13 78/315578/1 accepted/tizen_unified accepted/tizen_unified_dev accepted/tizen_unified_x tizen accepted/tizen/unified/20240816.171344 accepted/tizen/unified/dev/20240819.095604 accepted/tizen/unified/x/20240819.023422
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 066211a..afea7c4 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 a0984a5..f949c34 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: