From d118b5a2ee1c5d4ff2c01c40b6f5dcd153029ffd Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 4 Feb 2009 16:48:25 +0000 Subject: [PATCH] Fix spawn prototype for w32 glib and qt versions. --- src/ChangeLog | 6 ++++++ src/w32-glib-io.c | 2 +- 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 + + * 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 * 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;