2004-10-05 Marcus Brinkmann <marcus@g10code.de>
* op-support.c (_gpgme_op_data_lookup): Use char pointer for pointer arithmetic.
This commit is contained in:
parent
ee3186519d
commit
9bccf0d830
@ -1,3 +1,8 @@
|
|||||||
|
2004-10-05 Marcus Brinkmann <marcus@g10code.de>
|
||||||
|
|
||||||
|
* op-support.c (_gpgme_op_data_lookup): Use char pointer for
|
||||||
|
pointer arithmetic.
|
||||||
|
|
||||||
2004-09-30 Marcus Brinkmann <marcus@g10code.de>
|
2004-09-30 Marcus Brinkmann <marcus@g10code.de>
|
||||||
|
|
||||||
* gpgme.m4: Implement the --api-version check.
|
* gpgme.m4: Implement the --api-version check.
|
||||||
|
@ -50,7 +50,7 @@ _gpgme_op_data_lookup (gpgme_ctx_t ctx, ctx_op_data_id_t type, void **hook,
|
|||||||
data->next = ctx->op_data;
|
data->next = ctx->op_data;
|
||||||
data->type = type;
|
data->type = type;
|
||||||
data->cleanup = cleanup;
|
data->cleanup = cleanup;
|
||||||
data->hook = ((void *) data) + sizeof (struct ctx_op_data);
|
data->hook = (void *) (((char *) data) + sizeof (struct ctx_op_data));
|
||||||
ctx->op_data = data;
|
ctx->op_data = data;
|
||||||
}
|
}
|
||||||
*hook = data->hook;
|
*hook = data->hook;
|
||||||
|
Loading…
Reference in New Issue
Block a user