aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine-g13.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2016-09-13 18:59:07 +0000
committerWerner Koch <[email protected]>2016-09-13 18:59:07 +0000
commit51f9acbca935c5287d9a28205037b0923e9a65f5 (patch)
tree183b086030e2b6a0647c0e296d46852b80fbc710 /src/engine-g13.c
parentcore: Cast away the common const problem with spawn and argv. (diff)
downloadgpgme-51f9acbca935c5287d9a28205037b0923e9a65f5.tar.gz
gpgme-51f9acbca935c5287d9a28205037b0923e9a65f5.zip
core: Use const char * where appropriate.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'src/engine-g13.c')
-rw-r--r--src/engine-g13.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine-g13.c b/src/engine-g13.c
index ce98b1bd..7f225eb2 100644
--- a/src/engine-g13.c
+++ b/src/engine-g13.c
@@ -356,7 +356,7 @@ g13_set_locale (void *engine, int category, const char *value)
engine_g13_t g13 = engine;
gpgme_error_t err;
char *optstr;
- char *catstr;
+ const char *catstr;
/* FIXME: If value is NULL, we need to reset the option to default.
But we can't do this. So we error out here. G13 needs support
@@ -405,7 +405,7 @@ g13_set_locale (void *engine, int category, const char *value)
#if USE_DESCRIPTOR_PASSING
static gpgme_error_t
-g13_assuan_simple_command (assuan_context_t ctx, char *cmd,
+g13_assuan_simple_command (assuan_context_t ctx, const char *cmd,
engine_status_handler_t status_fnc,
void *status_fnc_value)
{