diff options
author | Stefan Krah <skrah@bytereef.org> | 2012-07-20 10:34:18 (GMT) |
---|---|---|
committer | Stefan Krah <skrah@bytereef.org> | 2012-07-20 10:34:18 (GMT) |
commit | 26a1c7a905582d6b0b5fdb4070e7ad5d18ea8596 (patch) | |
tree | 8e0a0f32094c856cf8b139d596e924443fb61fe2 /Modules/_decimal | |
parent | 5e1658c5d7030d03148a4805ffb09d4374963580 (diff) | |
download | cpython-26a1c7a905582d6b0b5fdb4070e7ad5d18ea8596.zip cpython-26a1c7a905582d6b0b5fdb4070e7ad5d18ea8596.tar.gz cpython-26a1c7a905582d6b0b5fdb4070e7ad5d18ea8596.tar.bz2 |
Fix Visual Studio warning.
Diffstat (limited to 'Modules/_decimal')
-rw-r--r-- | Modules/_decimal/libmpdec/mpdecimal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_decimal/libmpdec/mpdecimal.c b/Modules/_decimal/libmpdec/mpdecimal.c index c7d4cbd1..d7ae41c 100644 --- a/Modules/_decimal/libmpdec/mpdecimal.c +++ b/Modules/_decimal/libmpdec/mpdecimal.c @@ -7540,7 +7540,7 @@ mpd_qsqrt(mpd_t *result, const mpd_t *a, const mpd_context_t *ctx, ideal_exp += shift; } else { - int lsd = mpd_lsd(result->data[0]); + int lsd = (int)mpd_lsd(result->data[0]); if (lsd == 0 || lsd == 5) { result->data[0] += 1; } |