From: deraadt Date: Mon, 4 Mar 2024 04:11:52 +0000 (+0000) Subject: freq is unsigned, kernel builds again X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=4e623b4a2bcf44aa30a87d8ce2777f871da7a74b;p=openbsd freq is unsigned, kernel builds again --- diff --git a/sys/dev/fdt/sxiccmu.c b/sys/dev/fdt/sxiccmu.c index afb3966ef66..e7047d3a213 100644 --- a/sys/dev/fdt/sxiccmu.c +++ b/sys/dev/fdt/sxiccmu.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sxiccmu.c,v 1.36 2024/03/03 21:42:41 kettenis Exp $ */ +/* $OpenBSD: sxiccmu.c,v 1.37 2024/03/04 04:11:52 deraadt Exp $ */ /* * Copyright (c) 2007,2009 Dale Rahn * Copyright (c) 2013 Artturi Alm @@ -1735,7 +1735,7 @@ sxiccmu_a10_set_frequency(struct sxiccmu_softc *sc, uint32_t idx, uint32_t freq) int sxiccmu_a10s_set_frequency(struct sxiccmu_softc *sc, uint32_t idx, - int32_t freq) + uint32_t freq) { struct sxiccmu_clock clock; uint32_t parent, parent_freq;