changeset 4864:a03421eb562b

Fix VS6 build breakage in fileio.c
author Vin Shelton <acs@xemacs.org>
date Thu, 14 Jan 2010 20:55:10 -0500
parents 5ab6dc5d789e
children 6c0bb4d2c23a
files src/ChangeLog src/fileio.c
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Thu Jan 14 20:34:28 2010 -0500
+++ b/src/ChangeLog	Thu Jan 14 20:55:10 2010 -0500
@@ -1,5 +1,8 @@
 2010-01-14  Vin Shelton  <acs@xemacs.org>
 
+	* fileio.c (check_writable): Fix compilation error under Visual
+	Studio 6.
+
 	* sysfile.h: 
 	Add conditional definition for EOVERFLOW, which isn't defined
 	under Visual Studio 6.
--- a/src/fileio.c	Thu Jan 14 20:34:28 2010 -0500
+++ b/src/fileio.c	Thu Jan 14 20:55:10 2010 -0500
@@ -2344,7 +2344,7 @@
   DWORD dwAccessAllowed;
   Extbyte *fnameext;
 
-  LOCAL_FILE_FORMAT_TO_TSTR (filename, fnameext);
+  LOCAL_FILE_FORMAT_TO_TSTR ((Ibyte *)filename, fnameext);
 
   // First check for a normal file with the old-style readonly bit
   attributes = qxeGetFileAttributes(fnameext);