projects
/
platform
/
core
/
appfw
/
aul-1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e21dee8
)
Remove compile warning message
30/240730/1
author
Hwankyu Jhun
<h.jhun@samsung.com>
Tue, 11 Aug 2020 04:14:17 +0000
(13:14 +0900)
committer
Hwankyu Jhun
<h.jhun@samsung.com>
Tue, 11 Aug 2020 04:14:17 +0000
(13:14 +0900)
Change-Id: I8d330eefee4cf3418bd427d5f692fdac9ddd6902
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
aul/socket/socket.cc
patch
|
blob
|
history
diff --git
a/aul/socket/socket.cc
b/aul/socket/socket.cc
index
1031389
..
e61f637
100644
(file)
--- a/
aul/socket/socket.cc
+++ b/
aul/socket/socket.cc
@@
-183,7
+183,7
@@
void Socket::SetTimeout(int timeout_msec) {
struct timeval timeout = {
.tv_sec = static_cast<time_t>(timeout_msec / 1000),
- .tv_usec = static_cast<useconds_t>((timeout_msec % 1000) * 1000)
+ .tv_usec = static_cast<
s
useconds_t>((timeout_msec % 1000) * 1000)
};
int ret = setsockopt(fd_, SOL_SOCKET, SO_RCVTIMEO, &timeout, sizeof(timeout));
if (ret < 0)