summaryrefslogtreecommitdiffstats
path: root/jnlib/stringhelp.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2007-06-06 20:12:30 +0200
committerWerner Koch <wk@gnupg.org>2007-06-06 20:12:30 +0200
commit2c9791db555cc571eaedfa71444da05454bd052a (patch)
tree9566d22f85e562e0c7b35dacc1697c9a58fcff1a /jnlib/stringhelp.c
parentPrint passphrase encoding info only in PEM mode. (diff)
downloadgnupg2-2c9791db555cc571eaedfa71444da05454bd052a.tar.xz
gnupg2-2c9791db555cc571eaedfa71444da05454bd052a.zip
First steps towards supporting W32.
This is mainly source code reorganization. Update gnulib. g10/ does currently not build.
Diffstat (limited to 'jnlib/stringhelp.c')
-rw-r--r--jnlib/stringhelp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/jnlib/stringhelp.c b/jnlib/stringhelp.c
index b74f84a9c..b7f8b28db 100644
--- a/jnlib/stringhelp.c
+++ b/jnlib/stringhelp.c
@@ -821,7 +821,7 @@ memrchr (const void *buffer, int c, size_t n)
for (p += n; n ; n--)
if (*--p == c)
- return p;
+ return (void *)p;
return NULL;
}
#endif /*HAVE_MEMRCHR*/