matteoserva / MegaFuse

MEGA client for linux, based on FUSE
Other
250 stars 80 forks source link

Added math.h header to file_cache_row.cpp #65

Open vxnuke opened 7 years ago

vxnuke commented 7 years ago

Added #include Fixed error while running make.

Error:

src/file_cache_row.cpp: In static member function ‘static int CacheManager::numChunks(size_t)’: src/file_cache_row.cpp:70:59: error: ‘ceil’ was not declared in this scope return 8 + ceil(float(pos-end)/(8.0*ChunkedHash::SEGSIZE));

krusic22 commented 7 years ago

Thank you for this fix 👍

vxnuke commented 7 years ago

np :)