summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixFCmd.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-08-14 17:13:02 (GMT)
committernijtmans <nijtmans>2010-08-14 17:13:02 (GMT)
commitbcc427ce10a994d6f852f8a4a3a47bd706317581 (patch)
tree4f5a2412e887b345c272cf9e43755763e7a3922f /unix/tclUnixFCmd.c
parentd2976f0d8219a1841117e8e004c5bbe21c812961 (diff)
downloadtcl-bcc427ce10a994d6f852f8a4a3a47bd706317581.zip
tcl-bcc427ce10a994d6f852f8a4a3a47bd706317581.tar.gz
tcl-bcc427ce10a994d6f852f8a4a3a47bd706317581.tar.bz2
[Patch #2994165] Change signature of Tcl_FSGetNativePath and TclpDeleteFile
Diffstat (limited to 'unix/tclUnixFCmd.c')
-rw-r--r--unix/tclUnixFCmd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/unix/tclUnixFCmd.c b/unix/tclUnixFCmd.c
index 038354f..3c9b78a 100644
--- a/unix/tclUnixFCmd.c
+++ b/unix/tclUnixFCmd.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclUnixFCmd.c,v 1.77 2010/08/04 19:44:48 hobbs Exp $
+ * RCS: @(#) $Id: tclUnixFCmd.c,v 1.78 2010/08/14 17:13:02 nijtmans Exp $
*
* Portions of this code were derived from NetBSD source code which has the
* following copyright notice:
@@ -632,9 +632,9 @@ TclpObjDeleteFile(
int
TclpDeleteFile(
- const char *path) /* Pathname of file to be removed (native). */
+ const void *path) /* Pathname of file to be removed (native). */
{
- if (unlink(path) != 0) { /* INTL: Native. */
+ if (unlink((const char *)path) != 0) {
return TCL_ERROR;
}
return TCL_OK;