From 6bbcc068f0a6368c8ceae4a50a7f18d67fd240e7 Mon Sep 17 00:00:00 2001 From: visa Date: Wed, 24 Nov 2021 13:17:37 +0000 Subject: [PATCH] Fix type of count. --- sys/kern/kern_smr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); -- 2.20.1