summaryrefslogtreecommitdiffstats
path: root/fpga/usrp1/common
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2012-05-08 14:14:21 -0700
committerJosh Blum <josh@joshknows.com>2012-05-08 14:14:21 -0700
commit8a98d68933265f043bf95f9f273f9829619114c8 (patch)
tree7432f0182b9d04db2a56634a95904efe8c74b27c /fpga/usrp1/common
parentc42c02f03774db7df34a09c021e907ca7a048d46 (diff)
downloaduhd-8a98d68933265f043bf95f9f273f9829619114c8.tar.gz
uhd-8a98d68933265f043bf95f9f273f9829619114c8.tar.bz2
uhd-8a98d68933265f043bf95f9f273f9829619114c8.zip
convert: fixed sc8 convert issue w/ undefined behaviour
Its important to use a signed cast when converting float to int. Then assign that signed int to an unsigned type of the same width. Its undefined behaviour when converting a negative float to an unsigned int.
Diffstat (limited to 'fpga/usrp1/common')
0 files changed, 0 insertions, 0 deletions