remove compiler warning

This commit is contained in:
Holger Vogt 2021-04-10 17:51:43 +02:00
parent d5fd9c8625
commit 053e8c5a04
1 changed files with 1 additions and 1 deletions

View File

@ -2512,7 +2512,7 @@ static void rem_unused_mos_models(struct card* deck) {
wnflag = 0; wnflag = 0;
} }
nf = wnflag * wnf > 0.5f ? nf : 1.f; nf = (float)wnflag * wnf > 0.5f ? nf : 1.f;
w = w / nf; w = w / nf;
/* what is the device's model name? */ /* what is the device's model name? */