diff --git a/src/cache.cpp b/src/cache.cpp index 4856d23..e6d3a81 100644 --- a/src/cache.cpp +++ b/src/cache.cpp @@ -59,7 +59,7 @@ using namespace std; #ifdef HAVE_CLOCK_GETTIME static int s3fs_clock_gettime(int clk_id, struct timespec* ts) { - return clock_gettime(clk_id, ts); + return clock_gettime(static_cast(clk_id), ts); } #else static int s3fs_clock_gettime(int clk_id, struct timespec* ts)