From: visa Date: Wed, 24 Nov 2021 13:17:37 +0000 (+0000) Subject: Fix type of count. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=6bbcc068f0a6368c8ceae4a50a7f18d67fd240e7;p=openbsd Fix type of count. --- diff --git a/sys/kern/kern_smr.c b/sys/kern/kern_smr.c index 6152ce0f6da..d85941093c2 100644 --- a/sys/kern/kern_smr.c +++ b/sys/kern/kern_smr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_smr.c,v 1.14 2021/11/24 13:16:00 visa Exp $ */ +/* $OpenBSD: kern_smr.c,v 1.15 2021/11/24 13:17:37 visa Exp $ */ /* * Copyright (c) 2019-2020 Visa Hankala @@ -85,7 +85,7 @@ smr_thread(void *arg) struct timeval elapsed, end, loglast, start; struct smr_entry_list deferred; struct smr_entry *smr; - size_t count; + unsigned long count; KERNEL_ASSERT_LOCKED(); KERNEL_UNLOCK();