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
|
@ -48,7 +48,7 @@ ftello (FILE *stream)
|
|||
int
|
||||
_keybox_read_blob2 (KEYBOXBLOB *r_blob, FILE *fp, int *skipped_deleted)
|
||||
{
|
||||
char *image;
|
||||
unsigned char *image;
|
||||
size_t imagelen = 0;
|
||||
int c1, c2, c3, c4, type;
|
||||
int rc;
|
||||
|
@ -118,7 +118,7 @@ _keybox_read_blob (KEYBOXBLOB *r_blob, FILE *fp)
|
|||
int
|
||||
_keybox_write_blob (KEYBOXBLOB blob, FILE *fp)
|
||||
{
|
||||
const char *image;
|
||||
const unsigned char *image;
|
||||
size_t length;
|
||||
|
||||
image = _keybox_get_blob_image (blob, &length);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue