On Tue, 15 Mar 2016, Hans Petter Selasky wrote:
On 03/14/16 21:33, Gleb Smirnoff wrote:
On Mon, Mar 14, 2016 at 02:31:37PM -0400, Ryan Stone wrote:
R> On Mon, Mar 14, 2016 at 2:07 PM, Gleb Smirnoff
wrote:
R>
R> > Remove useless cast in SYSCTL_ADD_COUNTER_U64 macro.
There was no cast here
On 03/14/16 21:33, Gleb Smirnoff wrote:
On Mon, Mar 14, 2016 at 02:31:37PM -0400, Ryan Stone wrote:
R> On Mon, Mar 14, 2016 at 2:07 PM, Gleb Smirnoff wrote:
R>
R> > Remove useless cast in SYSCTL_ADD_COUNTER_U64 macro.
R> >
R>
R> Is it useless? I believe that the point is to give a compiler er
On Mon, Mar 14, 2016 at 02:31:37PM -0400, Ryan Stone wrote:
R> On Mon, Mar 14, 2016 at 2:07 PM, Gleb Smirnoff wrote:
R>
R> > Remove useless cast in SYSCTL_ADD_COUNTER_U64 macro.
R> >
R>
R> Is it useless? I believe that the point is to give a compiler error if an
R> incompatible pointer type w
On Mon, Mar 14, 2016 at 2:07 PM, Gleb Smirnoff wrote:
> Remove useless cast in SYSCTL_ADD_COUNTER_U64 macro.
>
Is it useless? I believe that the point is to give a compiler error if an
incompatible pointer type was passed as the ptr parameter.
___
s
Author: glebius
Date: Mon Mar 14 18:07:59 2016
New Revision: 296868
URL: https://svnweb.freebsd.org/changeset/base/296868
Log:
Remove useless cast in SYSCTL_ADD_COUNTER_U64 macro.
Modified:
head/sys/sys/sysctl.h
Modified: head/sys/sys/sysctl.h