[svn] assuan - r189 - trunk/src
svn author marcus
cvs at cvs.gnupg.org
Sat Oct 1 21:49:49 CEST 2005
Author: marcus
Date: 2005-10-01 21:49:48 +0200 (Sat, 01 Oct 2005)
New Revision: 189
Modified:
trunk/src/ChangeLog
trunk/src/assuan-client.c
trunk/src/assuan-inquire.c
trunk/src/assuan-util.c
Log:
2005-10-01 Marcus Brinkmann <marcus at g10code.de>
* assuan-client.c (assuan_transact): Change LINE, S and D from
unsigned char * to char * to silence gcc warning.
* assuan-util.c (_assuan_log_sanitized_string): Add explicit cast
to silence gcc warning.
* assuan-inquire.c (assuan_inquire): Likewise.
Modified: trunk/src/ChangeLog
===================================================================
--- trunk/src/ChangeLog 2005-09-08 16:02:36 UTC (rev 188)
+++ trunk/src/ChangeLog 2005-10-01 19:49:48 UTC (rev 189)
@@ -1,3 +1,11 @@
+2005-10-01 Marcus Brinkmann <marcus at g10code.de>
+
+ * assuan-client.c (assuan_transact): Change LINE, S and D from
+ unsigned char * to char * to silence gcc warning.
+ * assuan-util.c (_assuan_log_sanitized_string): Add explicit cast
+ to silence gcc warning.
+ * assuan-inquire.c (assuan_inquire): Likewise.
+
2005-09-08 Marcus Brinkmann <marcus at g10code.com>
* assuan-pipe-connect.c (assuan_pipe_connect2): Add missing
Modified: trunk/src/assuan-client.c
===================================================================
--- trunk/src/assuan-client.c 2005-09-08 16:02:36 UTC (rev 188)
+++ trunk/src/assuan-client.c 2005-10-01 19:49:48 UTC (rev 189)
@@ -1,5 +1,5 @@
/* assuan-client.c - client functions
- * Copyright (C) 2001, 2002 Free Software Foundation, Inc.
+ * Copyright (C) 2001, 2002, 2005 Free Software Foundation, Inc.
*
* This file is part of Assuan.
*
@@ -137,7 +137,7 @@
void *status_cb_arg)
{
int rc, okay, off;
- unsigned char *line;
+ char *line;
int linelen;
rc = assuan_write_line (ctx, command);
@@ -167,7 +167,7 @@
rc = ASSUAN_No_Data_Callback;
else
{
- unsigned char *s, *d;
+ char *s, *d;
for (s=d=line; linelen; linelen--)
{
Modified: trunk/src/assuan-inquire.c
===================================================================
--- trunk/src/assuan-inquire.c 2005-09-08 16:02:36 UTC (rev 188)
+++ trunk/src/assuan-inquire.c 2005-10-01 19:49:48 UTC (rev 189)
@@ -1,5 +1,5 @@
/* assuan-inquire.c - handle inquire stuff
- * Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
+ * Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
*
* This file is part of Assuan.
*
@@ -173,7 +173,7 @@
rc = _assuan_read_line (ctx);
if (rc)
goto leave;
- line = ctx->inbound.line;
+ line = (unsigned char *) ctx->inbound.line;
linelen = ctx->inbound.linelen;
}
while (*line == '#' || !linelen);
Modified: trunk/src/assuan-util.c
===================================================================
--- trunk/src/assuan-util.c 2005-09-08 16:02:36 UTC (rev 188)
+++ trunk/src/assuan-util.c 2005-10-01 19:49:48 UTC (rev 189)
@@ -202,7 +202,7 @@
void
_assuan_log_sanitized_string (const char *string)
{
- const unsigned char *s = string;
+ const unsigned char *s = (const unsigned char *) string;
FILE *fp = assuan_get_assuan_log_stream ();
if (! *s)
More information about the Gnupg-commits
mailing list