Fix Visual Studio warning.

This commit is contained in:
Stefan Krah 2012-07-20 12:34:18 +02:00
parent 5e1658c5d7
commit 26a1c7a905
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}