]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - binutils/arsup.c
Update year range in copyright notice of binutils files
[thirdparty/binutils-gdb.git] / binutils / arsup.c
index 8b4437ff41741f670d453a401f4ce7c0356eb3f9..837011bdfd23bbf4e6ecd8f9e218262318c6d298 100644 (file)
@@ -1,5 +1,5 @@
 /* arsup.c - Archive support for MRI compatibility
-   Copyright (C) 1992-2020 Free Software Foundation, Inc.
+   Copyright (C) 1992-2021 Free Software Foundation, Inc.
 
    This file is part of GNU Binutils.
 
@@ -355,7 +355,7 @@ ar_save (void)
 #if !defined (_WIN32) || defined (__CYGWIN32__)
       /* It's OK to fail; at worst it will result in SMART_RENAME using a slow
          copy fallback to write the output.  */
-      ofd = dup (fileno (obfd->iostream));
+      ofd = dup (fileno ((FILE *) obfd->iostream));
       if (lstat (real_name, &target_stat) != 0)
        skip_stat = TRUE;
 #endif