diff options
| -rw-r--r-- | gpgme/ChangeLog | 8 | ||||
| -rw-r--r-- | gpgme/data.c | 1 | ||||
| -rw-r--r-- | gpgme/key.c | 1 | ||||
| -rw-r--r-- | gpgme/recipient.c | 1 | ||||
| -rw-r--r-- | gpgme/rungpg.c | 2 | ||||
| -rw-r--r-- | tests/ChangeLog | 7 | ||||
| -rw-r--r-- | tests/t-data.c | 7 | 
7 files changed, 23 insertions, 4 deletions
| diff --git a/gpgme/ChangeLog b/gpgme/ChangeLog index 4e9a6424..8e932b98 100644 --- a/gpgme/ChangeLog +++ b/gpgme/ChangeLog @@ -1,3 +1,11 @@ +2001-11-02  Marcus Brinkmann  <[email protected]> + +	* rungpg.c (pipemode_copy): Change type of NBYTES to size_t. + +	* key.c: Include string.h. +	* data.c: Likewise. +	* recipient.c: Likewise. +  2001-10-29  Marcus Brinkmann  <[email protected]>  	* context.h: New member signers_len. diff --git a/gpgme/data.c b/gpgme/data.c index 2a313612..6ba853d8 100644 --- a/gpgme/data.c +++ b/gpgme/data.c @@ -22,6 +22,7 @@  #include <config.h>  #include <stdio.h>  #include <stdlib.h> +#include <string.h>  #include <assert.h>  #include <errno.h>  #include <sys/types.h> diff --git a/gpgme/key.c b/gpgme/key.c index 4db6ec15..51bd66be 100644 --- a/gpgme/key.c +++ b/gpgme/key.c @@ -22,6 +22,7 @@  #include <config.h>  #include <stdio.h>  #include <stdlib.h> +#include <string.h>  #include <assert.h>  #include "util.h" diff --git a/gpgme/recipient.c b/gpgme/recipient.c index 5e3297f8..284b658f 100644 --- a/gpgme/recipient.c +++ b/gpgme/recipient.c @@ -22,6 +22,7 @@  #include <config.h>  #include <stdio.h>  #include <stdlib.h> +#include <string.h>  #include <assert.h>  #include "util.h" diff --git a/gpgme/rungpg.c b/gpgme/rungpg.c index 7fb90347..cbc727c0 100644 --- a/gpgme/rungpg.c +++ b/gpgme/rungpg.c @@ -1275,7 +1275,7 @@ static GpgmeError  pipemode_copy (char *buffer, size_t length, size_t *nread, GpgmeData data )  {      GpgmeError err; -    int nbytes; +    size_t nbytes;      char tmp[1000], *s, *d;      /* we can optimize this whole thing but for now we just diff --git a/tests/ChangeLog b/tests/ChangeLog index 153bd153..87ca830a 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,10 @@ +2001-11-02  Marcus Brinkmann  <[email protected]> + +	* t-data.c: Include stddef.h. +	(read_once_test): Change type of READ to size_t. +	(read_test): Likewise. +	(write_test): Likewise. +  2001-10-29  Marcus Brinkmann  <[email protected]>  	* t-signers.c: New file. diff --git a/tests/t-data.c b/tests/t-data.c index 47a8926b..90099df7 100644 --- a/tests/t-data.c +++ b/tests/t-data.c @@ -18,6 +18,7 @@   * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA   */ +#include <stddef.h>  #include <stdio.h>  #include <stdlib.h>  #include <string.h> @@ -107,7 +108,7 @@ read_once_test (round_t round, GpgmeData data)  {    GpgmeError err;    char buffer[1024]; -  int read; +  size_t read;    err = gpgme_data_read (data, buffer, sizeof (buffer), &read);    fail_if_err (err); @@ -133,7 +134,7 @@ read_test (round_t round, GpgmeData data)  {    GpgmeError err;    char buffer[1024]; -  int read; +  size_t read;    if (round == TEST_INOUT_NONE)      { @@ -158,7 +159,7 @@ write_test (round_t round, GpgmeData data)  {    GpgmeError err;    char buffer[1024]; -  int read; +  size_t read;    err = gpgme_data_write (data, text, strlen (text));    fail_if_err (err); | 
