diff options
author | Werner Koch <[email protected]> | 2009-02-04 16:48:25 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2009-02-04 16:48:25 +0000 |
commit | d118b5a2ee1c5d4ff2c01c40b6f5dcd153029ffd (patch) | |
tree | a76f0221524224b519c290b745050653d60fb67e | |
parent | Provide inforation about smartcards. (diff) | |
download | gpgme-d118b5a2ee1c5d4ff2c01c40b6f5dcd153029ffd.tar.gz gpgme-d118b5a2ee1c5d4ff2c01c40b6f5dcd153029ffd.zip |
Fix spawn prototype for w32 glib and qt versions.
Diffstat (limited to '')
-rw-r--r-- | src/ChangeLog | 6 | ||||
-rw-r--r-- | src/w32-glib-io.c | 2 | ||||
-rw-r--r-- | src/w32-qt-io.cpp | 2 |
3 files changed, 8 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index f98e1a3c..1cd86436 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,9 @@ +2009-02-04 Werner Koch <[email protected]> + + * w32-glib-io.c (_gpgme_io_spawn): Make ARGV argument const to + match prototype. + * w32-qt-io.cpp (_gpgme_io_spawn): Ditto. + 2009-02-03 Werner Koch <[email protected]> * gpgme.h.in (struct _gpgme_subkey): Add fields IS_CARDKEY and diff --git a/src/w32-glib-io.c b/src/w32-glib-io.c index f4afc7e1..c646edcf 100644 --- a/src/w32-glib-io.c +++ b/src/w32-glib-io.c @@ -448,7 +448,7 @@ build_commandline (char **argv) int -_gpgme_io_spawn (const char *path, char **argv, +_gpgme_io_spawn (const char *path, char * const argv[], struct spawn_fd_item_s *fd_list, pid_t *r_pid) { SECURITY_ATTRIBUTES sec_attr; diff --git a/src/w32-qt-io.cpp b/src/w32-qt-io.cpp index 43f94fd1..681493ff 100644 --- a/src/w32-qt-io.cpp +++ b/src/w32-qt-io.cpp @@ -397,7 +397,7 @@ build_commandline (char **argv) int -_gpgme_io_spawn (const char *path, char **argv, +_gpgme_io_spawn (const char *path, char * const argv[], struct spawn_fd_item_s *fd_list, pid_t *r_pid) { SECURITY_ATTRIBUTES sec_attr; |