Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/include gcc 5, my patience is waning.
details: https://anonhg.NetBSD.org/src/rev/bc92791a1bc7
branches: trunk
changeset: 344217:bc92791a1bc7
user: christos <christos%NetBSD.org@localhost>
date: Thu Mar 17 00:42:49 2016 +0000
description:
gcc 5, my patience is waning.
diffstat:
include/stdio.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 105e0e27401a -r bc92791a1bc7 include/stdio.h
--- a/include/stdio.h Thu Mar 17 00:21:04 2016 +0000
+++ b/include/stdio.h Thu Mar 17 00:42:49 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: stdio.h,v 1.96 2015/03/24 07:44:52 wiz Exp $ */
+/* $NetBSD: stdio.h,v 1.97 2016/03/17 00:42:49 christos Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -483,7 +483,7 @@
#define __sfeof(p) (((p)->_flags & __SEOF) != 0)
#define __sferror(p) (((p)->_flags & __SERR) != 0)
-#define __sclearerr(p) ((void)((p)->_flags &= ~(__SERR|__SEOF)))
+#define __sclearerr(p) ((void)((p)->_flags &= (unsigned short)~(__SERR|__SEOF)))
#define __sfileno(p) \
((p)->_file == -1 ? -1 : (int)(unsigned short)(p)->_file)
Home |
Main Index |
Thread Index |
Old Index