hlrs-vis / covise

Collaborative Visualization and Simulation Environment, OpenCOVER and OddLOT
http://www.hlrs.de/covise/
187 stars 87 forks source link

Fix compile error: format ‘%d’ expects argument of type ‘int’ #6

Closed devurandom closed 9 years ago

devurandom commented 9 years ago

Sensor.cpp:275:123: error: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘time_t {aka long int}’

aumuell commented 9 years ago

solved by Andreas Grimm in a slightly different way: compilation should not break even when size_t != time_t