summaryrefslogtreecommitdiffstats
path: root/generic/tclFileName.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-02-27 21:10:53 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-02-27 21:10:53 (GMT)
commitb8c0e58734798ec469c1e7bf11614dfe20ebf1c8 (patch)
treea9961c531d3a0e45e0bdf50bd32190f67f64f02e /generic/tclFileName.c
parent50e25405198e4d87a648289376b90e2e40dd2972 (diff)
parentf04b875d88bbe9cd4d2114d60c194be01a7c9e04 (diff)
downloadtcl-b8c0e58734798ec469c1e7bf11614dfe20ebf1c8.zip
tcl-b8c0e58734798ec469c1e7bf11614dfe20ebf1c8.tar.gz
tcl-b8c0e58734798ec469c1e7bf11614dfe20ebf1c8.tar.bz2
merge 8.7
Diffstat (limited to 'generic/tclFileName.c')
-rw-r--r--generic/tclFileName.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tclFileName.c b/generic/tclFileName.c
index 48544f3..d35c5b5 100644
--- a/generic/tclFileName.c
+++ b/generic/tclFileName.c
@@ -2551,21 +2551,21 @@ unsigned
Tcl_GetFSDeviceFromStat(
const Tcl_StatBuf *statPtr)
{
- return (unsigned) statPtr->st_dev;
+ return statPtr->st_dev;
}
unsigned
Tcl_GetFSInodeFromStat(
const Tcl_StatBuf *statPtr)
{
- return (unsigned) statPtr->st_ino;
+ return statPtr->st_ino;
}
unsigned
Tcl_GetModeFromStat(
const Tcl_StatBuf *statPtr)
{
- return (unsigned) statPtr->st_mode;
+ return statPtr->st_mode;
}
int
@@ -2642,7 +2642,7 @@ Tcl_GetBlockSizeFromStat(
const Tcl_StatBuf *statPtr)
{
#ifdef HAVE_STRUCT_STAT_ST_BLKSIZE
- return (unsigned) statPtr->st_blksize;
+ return statPtr->st_blksize;
#else
/*
* Not a great guess, but will do...