aboutsummaryrefslogtreecommitdiffstats
path: root/common/miscellaneous.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2005-06-16 08:12:03 +0000
committerWerner Koch <[email protected]>2005-06-16 08:12:03 +0000
commitdeeba405a9a5868ea478db5003be6335ab9aac6f (patch)
treed61d720258fd571ec81a3d3e5d776320b7b1d796 /common/miscellaneous.c
parentNew debugging optionhs, updates to the manual. (diff)
downloadgnupg-deeba405a9a5868ea478db5003be6335ab9aac6f.tar.gz
gnupg-deeba405a9a5868ea478db5003be6335ab9aac6f.zip
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.
Diffstat (limited to 'common/miscellaneous.c')
-rw-r--r--common/miscellaneous.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/miscellaneous.c b/common/miscellaneous.c
index 86b0fcb3a..d81213ef9 100644
--- a/common/miscellaneous.c
+++ b/common/miscellaneous.c
@@ -66,7 +66,7 @@ print_utf8_string( FILE *fp, const byte *p, size_t n )
}
char *
-make_printable_string( const byte *p, size_t n, int delim )
+make_printable_string (const void *p, size_t n, int delim )
{
return sanitize_buffer (p, n, delim);
}