[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 02/03: fec: more warning cleanup
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 02/03: fec: more warning cleanup |
Date: |
Mon, 6 Apr 2015 15:27:49 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script.
jcorgan pushed a commit to branch master
in repository gnuradio.
commit 00bbfcda2e84e09cc10293190b4cac0a92f90564
Author: Tim O'Shea <address@hidden>
Date: Mon Apr 6 11:15:47 2015 -0400
fec: more warning cleanup
---
gr-fec/include/gnuradio/fec/tpc_decoder.h | 6 +++---
gr-fec/lib/tpc_decoder.cc | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/gr-fec/include/gnuradio/fec/tpc_decoder.h
b/gr-fec/include/gnuradio/fec/tpc_decoder.h
index 8fc79a8..aa09430 100644
--- a/gr-fec/include/gnuradio/fec/tpc_decoder.h
+++ b/gr-fec/include/gnuradio/fec/tpc_decoder.h
@@ -80,8 +80,8 @@ class FEC_API tpc_decoder : public generic_decoder {
int outputSize;
int inputSize;
- int codeword_M;
- int codeword_N;
+ uint32_t codeword_M;
+ uint32_t codeword_N;
int mInit, nInit;
@@ -100,7 +100,7 @@ class FEC_API tpc_decoder : public generic_decoder {
std::vector<float> output_c_rows;
std::vector<float> output_c_cols;
- int numInitLoadIter;
+ uint32_t numInitLoadIter;
int numInitRemaining;
int output_c_col_idx;
diff --git a/gr-fec/lib/tpc_decoder.cc b/gr-fec/lib/tpc_decoder.cc
index 3805f31..700721d 100644
--- a/gr-fec/lib/tpc_decoder.cc
+++ b/gr-fec/lib/tpc_decoder.cc
@@ -752,8 +752,8 @@ template <typename T> int tpc_decoder::sgn(T val) {
void tpc_decoder::generic_work(void *inBuffer, void *outBuffer) {
const float *inPtr = (const float *) inBuffer;
unsigned char *out = (unsigned char *) outBuffer;
-
- int m, n, ii;
+
+ unsigned int m, n, ii;
int iter;
for(ii=0; ii<numInitLoadIter; ii++) {