projects
/
platform
/
core
/
system
/
deviced.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0160d97
)
display: Fix build warning, casting pointer into integer
44/296444/1
accepted/tizen/unified/20230731.175310
author
Youngjae Cho
<y0.cho@samsung.com>
Fri, 28 Jul 2023 01:04:37 +0000
(10:04 +0900)
committer
Youngjae Cho
<y0.cho@samsung.com>
Fri, 28 Jul 2023 01:11:36 +0000
(10:11 +0900)
The warning happens when casting 64bit pointer into 32bit integer.
Casting into intermeidate type, intptr_t, suppresses such warning.
Change-Id: I56bbce61f7c43311574e8cfb65237ad49954cf55
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
src/display/display.c
patch
|
blob
|
history
diff --git
a/src/display/display.c
b/src/display/display.c
index
94fe277
..
223cb8c
100644
(file)
--- a/
src/display/display.c
+++ b/
src/display/display.c
@@
-412,7
+412,7
@@
static const struct uevent_handler lcd_uevent_ops = {
static gboolean handle_sighup(gpointer data)
{
- int signo = (int) data;
+ int signo = (int)
(intptr_t)
data;
_I("received sig hub %d", signo);
pm_save_logdump();