mirror of
https://github.com/amperka/TroykaMQ.git
synced 2025-03-14 20:17:35 +03:00
replace return value to 'unsigned long' since all the functions return that type, not 'int' (type size and signedness mismatch)
This commit is contained in:
parent
d948cdb265
commit
7881a1c58f
@ -65,7 +65,7 @@ float BaseMQ::readRs() {
|
||||
return rs;
|
||||
}
|
||||
|
||||
int readScaled(float a, float b) {
|
||||
unsigned long readScaled(float a, float b) {
|
||||
float ratio = readRatio();
|
||||
return exp((log(ratio)-b)/a);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user