Add missing keymat cast to avoid compiler warning
authorMartin Willi <martin@revosec.ch>
Mon, 21 Nov 2011 16:32:19 +0000 (17:32 +0100)
committerMartin Willi <martin@revosec.ch>
Tue, 20 Mar 2012 16:30:47 +0000 (17:30 +0100)
src/libcharon/sa/tasks/child_create.c

index b0d50ef..79ca6cf 100644 (file)
@@ -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;