X-Git-Url: http://www.project-moonshot.org/gitweb/?p=trust_router.git;a=blobdiff_plain;f=tid%2Fexample%2Ftidc_main.c;fp=tid%2Fexample%2Ftidc_main.c;h=4ca37800cf7dd6930812f0f279294d7d89564190;hp=8ae56ca42cde4da0bfdcbca957d3373bc20a196a;hb=ef677b2b70f9e79bc1660bfbacba3a40ce74304f;hpb=6e11d4796b7b7b8a4ce27b12ce43080e4bc9e687 diff --git a/tid/example/tidc_main.c b/tid/example/tidc_main.c index 8ae56ca..4ca3780 100644 --- a/tid/example/tidc_main.c +++ b/tid/example/tidc_main.c @@ -57,7 +57,7 @@ static void tidc_resp_handler (TIDC_INSTANCE * tidc, unsigned char *c_keybuf = NULL; int i; struct timeval tv; - struct tidc_resp_cookie *data = talloc_get_type_abort(cookie, struct tidc_resp_cookie); + struct tidc_resp_cookie *data = (struct tidc_resp_cookie *) cookie; printf ("Response received! Realm = %s, Community = %s.\n", resp->realm->buf, resp->comm->buf);