From: Werner Koch Date: Wed, 4 Feb 2009 16:48:25 +0000 (+0000) Subject: Fix spawn prototype for w32 glib and qt versions. X-Git-Tag: gpgme-1.2.0@1385~28 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=471febf4fff4fc94d8757755c7c063f4eedf5966;p=gpgme.git Fix spawn prototype for w32 glib and qt versions. --- diff --git a/trunk/src/ChangeLog b/trunk/src/ChangeLog index f98e1a3..1cd8643 100644 --- a/trunk/src/ChangeLog +++ b/trunk/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/trunk/src/w32-glib-io.c b/trunk/src/w32-glib-io.c index f4afc7e..c646edc 100644 --- a/trunk/src/w32-glib-io.c +++ b/trunk/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/trunk/src/w32-qt-io.cpp b/trunk/src/w32-qt-io.cpp index 43f94fd..681493f 100644 --- a/trunk/src/w32-qt-io.cpp +++ b/trunk/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;