sprintf(display.bufval,"%.1f",display.val1);
ругается lcd.c:502: warning: format '%.1f' expects type 'double', but argument 3 has type 'float'
как заставить компилятор включить поддржку в sprintf float ?