Skip to content

Commit

Permalink
Merge pull request #26 from siriobalmelli-foss/develop
Browse files Browse the repository at this point in the history
prv_parse_float_number: remove implicit promotion to double
  • Loading branch information
MaJerle authored May 16, 2023
2 parents 8c7155e + ad95983 commit 6b3d7de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lwgps/src/lwgps/lwgps.c
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ prv_parse_float_number(lwgps_t* gh, const char* t) {
}
while (CIN(*t)) { /* Get the power */
value = value * (lwgps_float_t)10 + CTN(*t);
power *= 10.0;
power *= (lwgps_float_t)10.0;
++t;
}
return sign * value / power;
Expand Down

0 comments on commit 6b3d7de

Please sign in to comment.