From 12b6a68a5f78900fb1b14b97f826f55a7dee2817 Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Mon, 21 Nov 2011 17:32:19 +0100 Subject: [PATCH] Add missing keymat cast to avoid compiler warning --- src/libcharon/sa/tasks/child_create.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcharon/sa/tasks/child_create.c b/src/libcharon/sa/tasks/child_create.c index b0d50efa6..79ca6cf5a 100644 --- a/src/libcharon/sa/tasks/child_create.c +++ b/src/libcharon/sa/tasks/child_create.c @@ -1240,7 +1240,7 @@ METHOD(task_t, migrate, void, } this->ike_sa = ike_sa; - this->keymat = ike_sa->get_keymat(ike_sa); + this->keymat = (keymat_v2_t*)ike_sa->get_keymat(ike_sa); this->proposal = NULL; this->proposals = NULL; this->tsi = NULL;