mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-02 09:50:50 +02:00
set of portability changes from lint/asan/ubsan
This commit is contained in:
+1
-1
@@ -272,7 +272,7 @@ strip_trailing (char *string, int len, int newlines_only)
|
||||
|
||||
/* A wrapper for bcopy that can be prototyped in general.h */
|
||||
void
|
||||
xbcopy (char *s, char *d, size_t n)
|
||||
xbcopy (const void *s, void *d, size_t n)
|
||||
{
|
||||
FASTCOPY (s, d, n);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user