]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libiberty/vprintf-support.c
Update copyright years.
[thirdparty/gcc.git] / libiberty / vprintf-support.c
index 62f9ffc10425530c97d95cd63612c9a383ac917e..b590e5ab034e66e40f9c8ac61f506234c8d09cbe 100644 (file)
@@ -1,6 +1,6 @@
 /* Estimate the length of the string generated by a vprintf-like
    function.  Used by vasprintf and xvasprintf.
-   Copyright (C) 1994-2021 Free Software Foundation, Inc.
+   Copyright (C) 1994-2024 Free Software Foundation, Inc.
 
 This file is part of the libiberty library.
 Libiberty is free software; you can redistribute it and/or
@@ -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')