diff options
Diffstat (limited to 'jnlib/stringhelp.c')
-rw-r--r-- | jnlib/stringhelp.c | 2 |
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*/ |