diff options
Diffstat (limited to 'unix/tclUnixChan.c')
-rw-r--r-- | unix/tclUnixChan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/tclUnixChan.c b/unix/tclUnixChan.c index 52af100..b846169 100644 --- a/unix/tclUnixChan.c +++ b/unix/tclUnixChan.c @@ -2604,7 +2604,7 @@ TclOpen(path, oflag, mode) { int result; while (1) { - result = open(path, oflag, mode); + result = open(path, oflag, (mode_t)mode); if ((result != -1) || (errno != EINTR)) { return result; } |