I am trying to make a IdeaSpark weather station work. I have installed all libraries and etc per instructions. When I try to compile, I get the following error. I have included the code that causes the error. Can someone point out the error and how to fix it?
Here is the error
C:\Users\hamil\Documents\Arduino\libraries\esp8266-weather-station-master\src\TimeClient.cpp: In member function 'long int TimeClient::getCurrentEpochWithUtcOffset()':
C:\Users\hamil\Documents\Arduino\libraries\esp8266-weather-station-master\src\TimeClient.cpp:124:67: error: invalid operands of types 'double' and 'long int' to binary 'operator%'