fix: fix implicit cast to double warning
All checks were successful
Ubuntu Cross to Win64 / Cross Compile with ming64 (1.4.0, ubuntu-latest) (push) Successful in 1m14s

This commit is contained in:
Kevin Trogant 2024-07-19 12:47:18 +02:00
parent 14138b4933
commit dcf89bcc8b

View File

@ -94,7 +94,7 @@ RT_DLLEXPORT void rtNotifyCVARChange(const rt_cvar *cvar) {
rtLog("CVAR", "Changed %s to %d.", cvar->name, cvar->i);
break;
case RT_CVAR_TYPE_FLOAT:
rtLog("CVAR", "Changed %s to %f.", cvar->name, cvar->f);
rtLog("CVAR", "Changed %s to %f.", cvar->name, (double)cvar->f);
break;
case RT_CVAR_TYPE_STRING:
rtLog("CVAR", "Changed %s to '%s'.", cvar->name, cvar->s);