Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
systemd
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
steam
systemd
Commits
e0a974b4
Commit
e0a974b4
authored
Apr 25, 2013
by
Zbigniew Jędrzejewski-Szmek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bus: avoid gcc warning about casting a pointer to int of different size
parent
406e86fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/libsystemd-bus/bus-kernel.c
src/libsystemd-bus/bus-kernel.c
+1
-1
No files found.
src/libsystemd-bus/bus-kernel.c
View file @
e0a974b4
...
...
@@ -66,7 +66,7 @@ static void append_payload_vec(struct kdbus_msg_item **d, const void *p, size_t
(
*
d
)
->
size
=
offsetof
(
struct
kdbus_msg_item
,
vec
)
+
sizeof
(
struct
kdbus_vec
);
(
*
d
)
->
type
=
KDBUS_MSG_PAYLOAD_VEC
;
(
*
d
)
->
vec
.
address
=
(
uint64
_t
)
p
;
(
*
d
)
->
vec
.
address
=
(
intptr
_t
)
p
;
(
*
d
)
->
vec
.
size
=
sz
;
*
d
=
(
struct
kdbus_msg_item
*
)
((
uint8_t
*
)
*
d
+
(
*
d
)
->
size
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment