From 547ff5e199fa5f4bb1720fb35afc3b5d4c7484ad Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Fri, 3 Jul 2020 10:04:51 +0200 Subject: [PATCH] fpga: fix comparison of signed/unsigned ints --- lib/nodes/fpga.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/nodes/fpga.cpp b/lib/nodes/fpga.cpp index a8401a547..f5dde122f 100644 --- a/lib/nodes/fpga.cpp +++ b/lib/nodes/fpga.cpp @@ -273,7 +273,7 @@ int fpga_stop(struct node *n) int fpga_read(struct node *n, struct sample *smps[], unsigned cnt, unsigned *release) { - int read; + unsigned read; struct fpga *f = (struct fpga *) n->_vd; struct sample *smp = smps[0];