mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +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
|
@ -256,7 +256,7 @@ print_time (gnupg_isotime_t t, FILE *fp)
|
|||
static char *
|
||||
email_kludge (const char *name)
|
||||
{
|
||||
const unsigned char *p;
|
||||
const char *p;
|
||||
unsigned char *buf;
|
||||
int n;
|
||||
|
||||
|
@ -278,7 +278,7 @@ email_kludge (const char *name)
|
|||
buf[n] = xtoi_2 (p);
|
||||
buf[n++] = '>';
|
||||
buf[n] = 0;
|
||||
return buf;
|
||||
return (char*)buf;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue