From dfa85e21c429b2f003ac2c17b7eb0bb7f9e92017 Mon Sep 17 00:00:00 2001 From: Conrad Meyer Date: Thu, 22 Jun 2017 15:52:18 +0000 Subject: [PATCH] sglist.h: Fix sg_refs signedness to match refcount(9) PR: 220122 Reported by: Mark Millard Sponsored by: Dell EMC Isilon --- sys/sys/sglist.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/sys/sglist.h b/sys/sys/sglist.h index 7d22e28ecc8..00fedd75c89 100644 --- a/sys/sys/sglist.h +++ b/sys/sys/sglist.h @@ -48,7 +48,7 @@ struct sglist_seg { struct sglist { struct sglist_seg *sg_segs; - int sg_refs; + u_int sg_refs; u_short sg_nseg; u_short sg_maxseg; };