diff options
Diffstat (limited to 'gpgme/op-support.c')
| -rw-r--r-- | gpgme/op-support.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/gpgme/op-support.c b/gpgme/op-support.c index e406af9c..be42e75c 100644 --- a/gpgme/op-support.c +++ b/gpgme/op-support.c @@ -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->type = type;        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;      }    *hook = data->hook;  | 
