aboutsummaryrefslogtreecommitdiffstats
path: root/src/posix-io.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/posix-io.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/posix-io.c')
-rw-r--r--src/posix-io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/posix-io.c b/src/posix-io.c
index 258e8ea5..c0b2f4fa 100644
--- a/src/posix-io.c
+++ b/src/posix-io.c
@@ -282,7 +282,7 @@ _gpgme_io_set_nonblocking (int fd)
static long int
get_max_fds (void)
{
- char *source = NULL;
+ const char *source = NULL;
long int fds = -1;
int rc;