diff options
author | Josh Blum <josh@joshknows.com> | 2012-05-08 14:14:21 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2012-05-08 14:14:21 -0700 |
commit | 8a98d68933265f043bf95f9f273f9829619114c8 (patch) | |
tree | 7432f0182b9d04db2a56634a95904efe8c74b27c /host/cmake | |
parent | c42c02f03774db7df34a09c021e907ca7a048d46 (diff) | |
download | uhd-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 'host/cmake')
0 files changed, 0 insertions, 0 deletions