[svn] gcry - r1231 - trunk/cipher
svn author marcus
cvs at cvs.gnupg.org
Fri Apr 13 02:34:50 CEST 2007
Author: marcus
Date: 2007-04-13 02:34:49 +0200 (Fri, 13 Apr 2007)
New Revision: 1231
Modified:
trunk/cipher/ChangeLog
trunk/cipher/ac.c
Log:
2007-04-13 Marcus Brinkmann <marcus at g10code.de>
* ac.c (ac_data_construct): Cast const away to suppress compiler
warning.
Modified: trunk/cipher/ChangeLog
===================================================================
--- trunk/cipher/ChangeLog 2007-04-13 00:33:37 UTC (rev 1230)
+++ trunk/cipher/ChangeLog 2007-04-13 00:34:49 UTC (rev 1231)
@@ -1,5 +1,8 @@
2007-04-13 Marcus Brinkmann <marcus at g10code.de>
+ * ac.c (ac_data_construct): Cast const away to suppress compiler
+ warning.
+
* ecc.c (ecc_generate): Avoid compiler warning for unused argument
DUMMY.
(ecc_verify): Avoid compiler warning for unused arguments CMP and
Modified: trunk/cipher/ac.c
===================================================================
--- trunk/cipher/ac.c 2007-04-13 00:33:37 UTC (rev 1230)
+++ trunk/cipher/ac.c 2007-04-13 00:34:49 UTC (rev 1231)
@@ -1373,10 +1373,9 @@
/* Fill list with MPIs. */
for (i = 0; i < data_length; i++)
{
- /* FIXME!! name_provided is a const char* whereas name is char. */
char **nameaddr = (data->data[i].name
? &data->data[i].name
- : &data->data[i].name_provided);
+ : ((char **) &data->data[i].name_provided));
arg_list[(i * 2) + 0] = nameaddr;
arg_list[(i * 2) + 1] = &data->data[i].mpi;
More information about the Gnupg-commits
mailing list