win32 typo fix

Alan Modra amodra@gmail.com
Tue May 19 01:14:53 GMT 2020


	PR 25713
	* bfdio.c (_bfd_real_fopen): Typo fix.

diff --git a/bfd/bfdio.c b/bfd/bfdio.c
index bba8d896d3..0133b76064 100644
--- a/bfd/bfdio.c
+++ b/bfd/bfdio.c
@@ -130,7 +130,7 @@ _bfd_real_fopen (const char *filename, const char *modes)
       strcat (fullpath, filename);
 
       /* Convert any UNIX style path separators into the DOS form.  */
-      for (i = 0, fullpath[i]; i++)
+      for (i = 0; fullpath[i]; i++)
         {
           if (IS_UNIX_DIR_SEPARATOR (fullpath[i]))
 	    fullpath[i] = '\\';

-- 
Alan Modra
Australia Development Lab, IBM


More information about the Binutils mailing list