summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2023-02-28 21:22:48 +0100
committerChristian Göttsche <cgzones@googlemail.com>2023-02-28 21:53:48 +0100
commit88004f880a7acfe9d8b3016b173b39b24d70bc92 (patch)
tree339988265c0f740f4d015b15a74a32ca3be4c281
parent15ef38c4e3af506e7f35b9372cf9f657e9861701 (diff)
downloadbubblewrap-88004f880a7acfe9d8b3016b173b39b24d70bc92.tar.gz
Drop unnecessary cast to same type
Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
-rw-r--r--network.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/network.c b/network.c
index b47965c..f6d58a6 100644
--- a/network.c
+++ b/network.c
@@ -130,7 +130,7 @@ rtnl_setup_request (char *buffer,
header->nlmsg_seq = counter++;
header->nlmsg_pid = getpid ();
- return (struct nlmsghdr *) header;
+ return header;
}
void