mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
gcc-4 defaults forced me to edit many many files to get rid of the
char * vs. unsigned char * warnings. The GNU coding standards used to say that these mismatches are okay and better than a bunch of casts. Obviously this has changed now.
This commit is contained in:
parent
3370164182
commit
deeba405a9
69 changed files with 558 additions and 348 deletions
|
@ -390,9 +390,9 @@ handle_open (unsigned char *argbuf, size_t arglen)
|
|||
unsigned char atr[33];
|
||||
|
||||
/* Make sure there is only the port string */
|
||||
if (arglen != strlen (argbuf))
|
||||
if (arglen != strlen ((char*)argbuf))
|
||||
bad_request ("OPEN");
|
||||
portstr = argbuf;
|
||||
portstr = (char*)argbuf;
|
||||
|
||||
if (driver_is_open)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue