fix svace issue. 91/61391/1 accepted/tizen/common/20160308.142818 accepted/tizen/ivi/20160308.101055 accepted/tizen/mobile/20160308.100957 accepted/tizen/tv/20160308.101015 accepted/tizen/wearable/20160308.101032 submit/tizen/20160308.030444
authorHyihong Chae <hh.chae@samsung.com>
Mon, 7 Mar 2016 12:09:30 +0000 (21:09 +0900)
committerHyihong Chae <hh.chae@samsung.com>
Mon, 7 Mar 2016 12:09:30 +0000 (21:09 +0900)
Change-Id: I535b0873652f51fb8184e3142a41ffdf42d8b9c9
Signed-off-by: HyiHong Chae <hh.chae@samsung.com>
packaging/mtp-initiator.spec
src/daemon/mtp_daemon_db.c

index 33af8a3e78d7d9624528c64191380fbd2170698e..0c72633e2b5e22566f60d17138a4b24ba469a4f3 100755 (executable)
@@ -1,6 +1,6 @@
 Name:       mtp-initiator
 Summary:    mtp(media transfer protocol) initiator
-Version:    1.4.5
+Version:    1.4.6
 Release:    1
 Group:      Network & Connectivity/Other
 License:    Apache-2.0
index 86b61227603ad2135ef3c022bbfe287caddb8794..da25c53c8b2cd0048adf2f2d4d88be423e5d7d44 100755 (executable)
@@ -151,7 +151,7 @@ MTPObjectInfo* mtp_daemon_db_get_object_info(int mtp_device,
                object_info->StorageID = sqlite3_column_int(stmt, 2);
                object_info->ObjectFormat = sqlite3_column_int(stmt, 4);
                object_info->ProtectionStatus = sqlite3_column_int(stmt, 5);
-               object_info->ObjectCompressedSize = sqlite3_column_int(stmt, 6);
+               object_info->ObjectCompressedSize = (uint64_t)sqlite3_column_int(stmt, 6);
                object_info->ThumbFormat = sqlite3_column_int(stmt, 7);
                object_info->ThumbCompressedSize = sqlite3_column_int(stmt, 8);
                object_info->ThumbPixWidth = sqlite3_column_int(stmt, 9);