]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
[nvmecontrol] Fix type signedness warning-to-error on gcc-6.4
authorAdrian Chadd <adrian@FreeBSD.org>
Tue, 17 Nov 2020 17:12:28 +0000 (17:12 +0000)
committerAdrian Chadd <adrian@FreeBSD.org>
Tue, 17 Nov 2020 17:12:28 +0000 (17:12 +0000)
commit44c52406ced4cbba704f9bec588a8238d5a5ef32
treebe7a96a442d9bd582a827f67a5ad9cdce2793d34
parent975e1c1ce64afd5a2ed1647c80888b0fb6c132ae
[nvmecontrol] Fix type signedness warning-to-error on gcc-6.4

This fixes a type signedness comparison warning-to-error on
gcc-6.4. The ternary operation casts it right but the actual
assignment doesn't.

Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D26791
sbin/nvmecontrol/firmware.c