[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 01/03: blocks: fixed signed vs. unsigned co
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 01/03: blocks: fixed signed vs. unsigned comparison |
Date: |
Fri, 12 Feb 2016 19:27:54 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script.
jcorgan pushed a commit to branch maint
in repository gnuradio.
commit 05ea9181715b56e3eec89ce22bd4b53a2d1d499b
Author: Nicholas Corgan <address@hidden>
Date: Fri Feb 12 09:12:23 2016 -0800
blocks: fixed signed vs. unsigned comparison
---
gr-blocks/lib/min_XX_impl.cc.t | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gr-blocks/lib/min_XX_impl.cc.t b/gr-blocks/lib/min_XX_impl.cc.t
index d1cea61..0f7059f 100644
--- a/gr-blocks/lib/min_XX_impl.cc.t
+++ b/gr-blocks/lib/min_XX_impl.cc.t
@@ -1,6 +1,6 @@
/* -*- c++ -*- */
/*
- * Copyright 2014,2015 Free Software Foundation, Inc.
+ * Copyright 2014,2015,2016 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
@@ -77,7 +77,7 @@ namespace gr {
}
else // vector mode output
- for(int i = 0; i < noutput_items * d_vlen_out; i++) {
+ for(size_t i = 0; i < noutput_items * d_vlen_out; i++) {
@I_TYPE@ min = ((@I_TYPE@ *)input_items[0])[i];
for(int k = 1; k < ninputs; k++) {