projects
/
platform
/
core
/
uifw
/
isf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d1c909
)
Fix issue detected by static analysis tool
29/268929/1
author
InHong Han
<inhong1.han@samsung.com>
Wed, 5 Jan 2022 02:37:27 +0000
(11:37 +0900)
committer
InHong Han
<inhong1.han@samsung.com>
Wed, 5 Jan 2022 02:42:09 +0000
(
02:42
+0000)
Fix a sign extension issue
Change-Id: I108bad47c08b98185b76a7060e01c8e785342eb2
ism/src/scim_socket.cpp
patch
|
blob
|
history
diff --git
a/ism/src/scim_socket.cpp
b/ism/src/scim_socket.cpp
index
11d64d5
..
d84a0ea
100644
(file)
--- a/
ism/src/scim_socket.cpp
+++ b/
ism/src/scim_socket.cpp
@@
-812,7
+812,7
@@
private:
if (*timeout >= 0) {
gettimeofday (&begin_tv, 0);
tv.tv_sec = *timeout / 1000;
- tv.tv_usec = ((
unsigned
long int)*timeout % 1000) * 1000;
+ tv.tv_usec = ((long int)*timeout % 1000) * 1000;
}
m_err = 0;