diff options
Diffstat (limited to 'assuan')
-rw-r--r-- | assuan/ChangeLog | 5 | ||||
-rw-r--r-- | assuan/assuan-pipe-connect.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/assuan/ChangeLog b/assuan/ChangeLog index 2e01943b..cf15674e 100644 --- a/assuan/ChangeLog +++ b/assuan/ChangeLog @@ -1,3 +1,8 @@ +2008-10-30 Marcus Brinkmann <[email protected]> + + * assuan-pipe-connect.c: Fix prototype for _gpgme_io_spawn. Cast + second argument in its invocation to silence gcc warning. + 2008-06-25 Marcus Brinkmann <[email protected]> * assuan-pipe-connect.c (struct spawn_fd_item_s): Add new members. diff --git a/assuan/assuan-pipe-connect.c b/assuan/assuan-pipe-connect.c index a0091c6a..e3555325 100644 --- a/assuan/assuan-pipe-connect.c +++ b/assuan/assuan-pipe-connect.c @@ -52,7 +52,7 @@ struct spawn_fd_item_s int _gpgme_io_pipe (int filedes[2], int inherit_idx); -int _gpgme_io_spawn (const char *path, char **argv, +int _gpgme_io_spawn (const char *path, char *const argv[], struct spawn_fd_item_s *fd_list, pid_t *r_pid); #endif @@ -665,7 +665,7 @@ pipe_connect_gpgme (assuan_context_t *ctx, child_fds[nr].dup_to = -1; /* Start the process. */ - res = _gpgme_io_spawn (name, argv, child_fds, NULL); + res = _gpgme_io_spawn (name, (char *const *) argv, child_fds, NULL); if (res == -1) { _assuan_log_printf ("CreateProcess failed: %s\n", strerror (errno)); |