Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2004-09-17 01:18:50 +0400
committerJeff Johnston <jjohnstn@redhat.com>2004-09-17 01:18:50 +0400
commitc77672c0fd86170f7128b19bb4030710c41ab794 (patch)
tree234550e9a7d4272a5d6de2cfa010cd5a2647969e /newlib/libc/stdio64
parent5c44c2e54639389e7b72d6307ca0a5863bfe142b (diff)
2004-09-16 Antony King <antony.king@st.com>
* libc/stdio64/freopen64.c: Remove casting of fp lock to _LOCK_RECURSIVE_T.
Diffstat (limited to 'newlib/libc/stdio64')
-rw-r--r--newlib/libc/stdio64/freopen64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/stdio64/freopen64.c b/newlib/libc/stdio64/freopen64.c
index 42fe6fb22..fc846595e 100644
--- a/newlib/libc/stdio64/freopen64.c
+++ b/newlib/libc/stdio64/freopen64.c
@@ -157,7 +157,7 @@ _DEFUN (_freopen64_r, (ptr, file, mode, fp),
ptr->_errno = e; /* restore in case _close clobbered */
_funlockfile(fp);
#ifndef __SINGLE_THREAD__
- __lock_close_recursive (*(_LOCK_RECURSIVE_T *)&fp->_lock);
+ __lock_close_recursive (fp->_lock);
#endif
__sfp_lock_release ();
return NULL;