[Release version 0.2.38] Modify length calculation of array msg 95/72295/2 accepted/tizen/common/20160603.150911 accepted/tizen/ivi/20160606.121112 accepted/tizen/mobile/20160606.120735 accepted/tizen/tv/20160606.120920 accepted/tizen/wearable/20160606.121039 submit/tizen/20160603.021103 submit/tizen/20160603.061849
authorHaesu Gwon <haesu.gwon@samsung.com>
Tue, 31 May 2016 09:58:05 +0000 (18:58 +0900)
committerHaesu Gwon <haesu.gwon@samsung.com>
Tue, 31 May 2016 10:00:51 +0000 (19:00 +0900)
Change-Id: I1013ed6ceb6f5d9cebb8d3253261f04d1e52f019
Signed-off-by: Haesu Gwon <haesu.gwon@samsung.com>
muse/include/muse_camera_msg.h
packaging/mmsvc-camera.spec

index df16c65..8f30fa5 100644 (file)
@@ -372,7 +372,7 @@ typedef const char* STRING;
                __sndMsg__ = muse_core_msg_json_factory_new(api, \
                                        MUSE_TYPE_##type, #param2, __value2__, \
                                        MUSE_TYPE_ARRAY, #param, \
-                                       datum_size == sizeof(int)? length :  \
+                                       datum_size == sizeof(int)? length / sizeof(int) :  \
                                        length / sizeof(int) + (length % sizeof(int)?1:0), \
                                        __value__, \
                                        0); \
index 2b8763e..e90e33e 100644 (file)
@@ -3,7 +3,7 @@
 
 Name:       mmsvc-camera
 Summary:    A Camera module for muse server
-Version:    0.2.37
+Version:    0.2.38
 Release:    0
 Group:      Multimedia/Libraries
 License:    Apache-2.0