diff options
author | Martin Willi <martin@revosec.ch> | 2013-10-28 14:00:22 +0100 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2013-10-28 14:51:28 +0100 |
commit | 888d8d73abe1eca48a853e218cb8ee1c344a7029 (patch) | |
tree | 32e8a5296a277c2a9e0b5add7f22d409fa0fb898 /src/frontends/osx | |
parent | 3e40dbb128079d6cb4ba84c4335e6963da52a171 (diff) | |
download | strongswan-888d8d73abe1eca48a853e218cb8ee1c344a7029.tar.bz2 strongswan-888d8d73abe1eca48a853e218cb8ee1c344a7029.tar.xz |
charon-xpc: Properly cast SA identifier to uintptr representation
Diffstat (limited to 'src/frontends/osx')
-rw-r--r-- | src/frontends/osx/charon-xpc/xpc_channels.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frontends/osx/charon-xpc/xpc_channels.c b/src/frontends/osx/charon-xpc/xpc_channels.c index fb65b9c39..05913a784 100644 --- a/src/frontends/osx/charon-xpc/xpc_channels.c +++ b/src/frontends/osx/charon-xpc/xpc_channels.c @@ -479,7 +479,7 @@ static shared_key_t* password_cb(private_xpc_channels_t *this, { sa = ike_sa->get_unique_id(ike_sa); this->lock->read_lock(this->lock); - entry = this->channels->get(this->channels, (void*)sa); + entry = this->channels->get(this->channels, (void*)(uintptr_t)sa); if (entry && !entry->passworded) { entry->passworded = TRUE; |