diff options
Diffstat (limited to 'gnuradio-core/src/lib/reed-solomon/char.h')
-rw-r--r-- | gnuradio-core/src/lib/reed-solomon/char.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnuradio-core/src/lib/reed-solomon/char.h b/gnuradio-core/src/lib/reed-solomon/char.h index 8010fb0b9..762e9e295 100644 --- a/gnuradio-core/src/lib/reed-solomon/char.h +++ b/gnuradio-core/src/lib/reed-solomon/char.h @@ -21,7 +21,7 @@ struct rs { unsigned char iprim; /* prim-th root of 1, index form */ }; -static inline int modnn(struct rs *rs,int x){ +static inline unsigned int modnn(struct rs *rs, unsigned int x){ while (x >= rs->nn) { x -= rs->nn; x = (x >> rs->mm) + (x & rs->nn); |