diff options
author | Tom Musta <tommusta@gmail.com> | 2014-04-21 15:54:55 -0500 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2014-06-16 13:24:29 +0200 |
commit | 0a322e7e7cc25267fb4f900d4bc193a134cd72fe (patch) | |
tree | 3d3042fe85e05338699183d612d1843aec1fcf4f /target-ppc/helper.h | |
parent | 79af3572250352c5eeacdd813b57ad5ba748654c (diff) |
libdecnumber: Fix decNumberSetBCD
Fix a simple bug in the decNumberSetBCD() function. This function
encodes a decNumber with "n" BCD digits. The original code erroneously
computed the number of declets from the dn argument, which is the output
decNumber value, and hence may contain garbage. Instead, the input "n"
value is used.
Signed-off-by: Tom Musta <tommusta@gmail.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'target-ppc/helper.h')
0 files changed, 0 insertions, 0 deletions