Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

Commit

Permalink
fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
tekezo committed Oct 30, 2016
1 parent 03173de commit c96e54b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/server/Classes/ClientForKernelspace.m
Expand Up @@ -385,7 +385,7 @@ - (void)set_initialized {
struct BridgeUserClientStruct bridgestruct;
bridgestruct.type = BRIDGE_USERCLIENT_TYPE_SET_INITIALIZED;
bridgestruct.option = 0;
bridgestruct.data = &value;
bridgestruct.data = (user_addr_t)(&value);
bridgestruct.size = sizeof(value);

[self.userClient_userspace synchronized_communication:&bridgestruct];
Expand Down Expand Up @@ -455,7 +455,7 @@ - (void)unset_debug_flags {
struct BridgeUserClientStruct bridgestruct;
bridgestruct.type = BRIDGE_USERCLIENT_TYPE_UNSET_DEBUG_FLAGS;
bridgestruct.option = 0;
bridgestruct.data = &dummy;
bridgestruct.data = (user_addr_t)(&dummy);
bridgestruct.size = sizeof(dummy);

[self.userClient_userspace synchronized_communication:&bridgestruct];
Expand Down

0 comments on commit c96e54b

Please sign in to comment.