svn commit: r327515 - head/sys/sys

Poul-Henning Kamp phk at FreeBSD.org
Wed Jan 3 09:34:01 UTC 2018


Author: phk
Date: Wed Jan  3 09:33:59 2018
New Revision: 327515
URL: https://svnweb.freebsd.org/changeset/base/327515

Log:
  Eliminate a paranthesis which is both unneeded and causing trouble.

Modified:
  head/sys/sys/_stdarg.h

Modified: head/sys/sys/_stdarg.h
==============================================================================
--- head/sys/sys/_stdarg.h	Wed Jan  3 09:08:32 2018	(r327514)
+++ head/sys/sys/_stdarg.h	Wed Jan  3 09:33:59 2018	(r327515)
@@ -61,7 +61,7 @@
   #if __ISO_C_VISIBLE >= 1999
     #define va_copy(dst, src) ((dst) = (src))
   #endif
-  #define va_arg(ap, type) (*(((type)*)(((ap) += sizeof(type)) - sizeof(type))))
+  #define va_arg(ap, type) (*((type*)(((ap) += sizeof(type)) - sizeof(type))))
   #define va_end(ap) ((void)0)
 #endif
 


More information about the svn-src-head mailing list