Fix build errors for aarch64 29/285829/1
authorjh9216.park <jh9216.park@samsung.com>
Wed, 21 Dec 2022 02:48:24 +0000 (21:48 -0500)
committerjh9216.park <jh9216.park@samsung.com>
Wed, 21 Dec 2022 02:48:24 +0000 (21:48 -0500)
Change-Id: Iee0738570bfd95f6c7e8715e48ca3fe9a7672aea
Signed-off-by: jh9216.park <jh9216.park@samsung.com>
tizen-database/database.hpp

index 67d55fc..8425fe8 100644 (file)
@@ -405,7 +405,7 @@ class Database {
           dbt = DbType(reinterpret_cast<const char*>(
               sqlite3_column_text(stmt, pos)));
         } else if (type == SQLITE_INTEGER) {
-          dbt = DbType(sqlite3_column_int64(stmt, pos));
+          dbt = DbType(static_cast<int64_t>(sqlite3_column_int64(stmt, pos)));
         } else if (type == SQLITE_FLOAT) {
           dbt = DbType(sqlite3_column_double(stmt, pos));
         } else if (type == SQLITE_BLOB) {