summaryrefslogtreecommitdiffstats
path: root/common/simple-pwquery.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2005-06-16 10:12:03 +0200
committerWerner Koch <wk@gnupg.org>2005-06-16 10:12:03 +0200
commitdeeba405a9a5868ea478db5003be6335ab9aac6f (patch)
treed61d720258fd571ec81a3d3e5d776320b7b1d796 /common/simple-pwquery.c
parentNew debugging optionhs, updates to the manual. (diff)
downloadgnupg2-deeba405a9a5868ea478db5003be6335ab9aac6f.tar.xz
gnupg2-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/simple-pwquery.c')
-rw-r--r--common/simple-pwquery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/simple-pwquery.c b/common/simple-pwquery.c
index 8a027e799..de3689810 100644
--- a/common/simple-pwquery.c
+++ b/common/simple-pwquery.c
@@ -404,7 +404,7 @@ static char *
copy_and_escape (char *buffer, const char *text)
{
int i;
- const unsigned char *s = text;
+ const unsigned char *s = (unsigned char *)text;
char *p = buffer;