radimkeseg / osmoZis

MIT License
10 stars 4 forks source link

Fix the names of the libraries and invalid operands of types 'double' and 'long int' to binary 'operator%' #1

Open kamarat opened 4 years ago

kamarat commented 4 years ago

I fixed the names of the libraries in the file Interval.cpp (missing the capital letters). And I fixed the TimeClient.cpp:138:67: error: invalid operands of types 'double' and 'long int' to binary 'operator%' return round(getCurrentEpoch() + 3600 * myUtcOffset + 86400L) % 86400L; I changed function round to lround.