aboutsummaryrefslogtreecommitdiffstats
path: root/src/assuan-util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/assuan-util.c')
-rw-r--r--src/assuan-util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/assuan-util.c b/src/assuan-util.c
index 589e98f..e12b44e 100644
--- a/src/assuan-util.c
+++ b/src/assuan-util.c
@@ -102,8 +102,8 @@ _assuan_free (void *p)
/* Store the error in the context so that the error sending function
can take out a descriptive text. Inside the assuan code, use the
macro set_error instead of this function. */
-int
-assuan_set_error (assuan_context_t ctx, int err, const char *text)
+gpg_error_t
+assuan_set_error (assuan_context_t ctx, gpg_error_t err, const char *text)
{
ctx->err_no = err;
ctx->err_str = text;