Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jan 2018 09:33:59 +0000 (UTC)
From:      Poul-Henning Kamp <phk@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r327515 - head/sys/sys
Message-ID:  <201801030933.w039Xx7B076038@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801030933.w039Xx7B076038>