]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r245908:
authordchagin <dchagin@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 3 Feb 2013 18:37:08 +0000 (18:37 +0000)
committerdchagin <dchagin@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 3 Feb 2013 18:37:08 +0000 (18:37 +0000)
commit3572dea606b952546da35be2d02d5a51edb96fca
tree715a3a6b50f2ba98d2e65406602d96a370190016
parent1021bc1d5bb3db124ef93a5a93c731460a3dbfdf
MFC r245908:

Arithmetic on pointers takes into account the size of the type.
Properly cast the pointer to avoid incorrect pointer scaling.

git-svn-id: svn://svn.freebsd.org/base/stable/9@246292 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/compat/linux/linux_futex.c