Merge pull request #14494 from Jason2866/fix_knx

fix ambiguous error in knx
This commit is contained in:
Jason2866 2022-01-18 10:54:47 +01:00 committed by GitHub
commit f6df5ddb32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ void ESPKNXIP::__handle_root()
case FEEDBACK_TYPE_FLOAT:
m += F("<span class='input-group-text'>");
m += feedbacks[i].options.float_options.prefix;
m += String(*(float *)feedbacks[i].data, feedbacks[i].options.float_options.precision);
m += String(*(float *)feedbacks[i].data, (unsigned int)feedbacks[i].options.float_options.precision);
m += feedbacks[i].options.float_options.suffix;
m += F("</span>");
break;