Import libiberty from gcc

This commit is contained in:
Alan Modra
2022-05-13 16:43:15 +09:30
parent 845cbaa9ff
commit 31b15688c4
28 changed files with 165 additions and 148 deletions

View File

@@ -49,7 +49,7 @@ libiberty_vprintf_buffer_size (const char *format, va_list args)
#ifdef va_copy
va_copy (ap, args);
#else
memcpy ((PTR) &ap, (PTR) &args, sizeof (va_list));
memcpy ((void *) &ap, (void *) &args, sizeof (va_list));
#endif
while (*p != '\0')