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
|
@ -933,7 +933,7 @@ static void add_group(char *string)
|
|||
return;
|
||||
}
|
||||
|
||||
trim_trailing_ws(name,strlen(name));
|
||||
trim_trailing_ws((unsigned char *)name,strlen(name));
|
||||
|
||||
/* Break apart the values */
|
||||
while ((value= strsep(&string," \t")))
|
||||
|
@ -3124,7 +3124,7 @@ print_hashline( MD_HANDLE md, int algo, const char *fname )
|
|||
const byte *p;
|
||||
|
||||
if ( fname ) {
|
||||
for (p = fname; *p; p++ ) {
|
||||
for (p = (const unsigned char *)fname; *p; p++ ) {
|
||||
if ( *p <= 32 || *p > 127 || *p == ':' || *p == '%' )
|
||||
printf("%%%02X", *p );
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue