Fix Visual Studio warning.
This commit is contained in:
parent
5e1658c5d7
commit
26a1c7a905
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue