diff options
author | Semun Lee <semun.lee@samsung.com> | 2019-10-24 13:15:58 +0900 |
---|---|---|
committer | Semun Lee <semun.lee@samsung.com> | 2019-10-24 13:28:04 +0900 |
commit | 1b874c974b1c3b1e3b24112e9233b42235b5ed85 (patch) | |
tree | c7792174cb529d3f1e569f0a651eed5b732eadee /src | |
parent | 5f3b1826bfeda1ca9e5e9817b0fc77390d7e49b0 (diff) | |
download | connman-tizen_5.5_wearable_hotfix.tar.gz connman-tizen_5.5_wearable_hotfix.tar.bz2 connman-tizen_5.5_wearable_hotfix.zip |
Fix Tizen alarm dbus interface parametertizen_5.5.m2_releasesubmit/tizen_5.5_wearable_hotfix/20201026.184306submit/tizen_5.5_mobile_hotfix/20201026.185106submit/tizen_5.5/20191031.000006submit/tizen/20191024.043646accepted/tizen/unified/20191024.044128accepted/tizen/5.5/unified/wearable/hotfix/20201027.102538accepted/tizen/5.5/unified/mobile/hotfix/20201027.062320accepted/tizen/5.5/unified/20191031.010036tizen_5.5_wearable_hotfixtizen_5.5_tvtizen_5.5_mobile_hotfixaccepted/tizen_5.5_unified_wearable_hotfixaccepted/tizen_5.5_unified_mobile_hotfixaccepted/tizen_5.5_unified
alarm uses time values as 64bit integer
Change-Id: Ifc000094da6f3e5d78ea60c144b681284e06cf69
Signed-off-by: Semun Lee <semun.lee@samsung.com>
Diffstat (limited to 'src')
-rwxr-xr-x | src/ntp.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -381,10 +381,10 @@ static void decode_msg(struct ntp_data *nd, void *base, size_t len, clock_gettime(CLOCK_REALTIME, &req); msg = dbus_message_new_method_call(TIME_BUS_NAME, TIME_PATH, TIME_INTERFACE, TIME_METHOD); - dbus_message_append_args(msg, DBUS_TYPE_UINT32, &(cur.tv_sec), - DBUS_TYPE_UINT32, &(cur.tv_nsec), - DBUS_TYPE_UINT32, &(req.tv_sec), - DBUS_TYPE_UINT32, &(req.tv_nsec), DBUS_TYPE_INVALID); + dbus_message_append_args(msg, DBUS_TYPE_INT64, &(cur.tv_sec), + DBUS_TYPE_INT64, &(cur.tv_nsec), + DBUS_TYPE_INT64, &(req.tv_sec), + DBUS_TYPE_INT64, &(req.tv_nsec), DBUS_TYPE_INVALID); reply = dbus_connection_send_with_reply_and_block(connection, msg, DBUS_TIMEOUT_USE_DEFAULT, &error); if(reply == NULL){ |