Received: by mail.netbsd.org (Postfix, from userid 605) id F387D84D82; Sun, 8 Mar 2020 14:09:33 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 7708284D78 for ; Sun, 8 Mar 2020 14:09:33 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id Vk5hOEJtOkdS for ; Sun, 8 Mar 2020 14:09:33 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 1DBE884CFD for ; Sun, 8 Mar 2020 14:09:33 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 1739CFB27; Sun, 8 Mar 2020 14:09:33 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Sun, 8 Mar 2020 14:09:33 +0000 From: "SAITOH Masanobu" Subject: CVS commit: src/sys/dev/hid To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20200308140933.1739CFB27@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "SAITOH Masanobu" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: msaitoh Date: Sun Mar 8 14:09:33 UTC 2020 Modified Files: src/sys/dev/hid: hid.h Log Message: Use unsigned to avoid undefined behavior. Found by kUBSan. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/dev/hid/hid.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.