]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
For makedev(), cast the minor argument to unsigned type explicitely,
authorKonstantin Belousov <kib@FreeBSD.org>
Wed, 2 Aug 2017 14:54:54 +0000 (14:54 +0000)
committerKonstantin Belousov <kib@FreeBSD.org>
Wed, 2 Aug 2017 14:54:54 +0000 (14:54 +0000)
commitdfcc612cb0b5c5f7056203a9d48c0a0e84fe233d
treeb2ee93f8195fa4c8e99d05cb920dbe6b6c1edbac
parent2b79a966ab4f6f2cc648d2dadcc95e32cd517d46
For makedev(), cast the minor argument to unsigned type explicitely,
avoiding possible sign propagation.

Submitted by: hselasky
sys/sys/types.h