From af148ff130b639dc187fc39686fbbd6a2624bd4b Mon Sep 17 00:00:00 2001 From: Michael Fisher Date: Wed, 17 Jul 2013 16:05:09 -0500 Subject: Cast param for std::time to a pointer of time_t - bleeding clang (trunk 186535 v3.4) fails here --- libs/ardour/audiosource.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/ardour/audiosource.cc') diff --git a/libs/ardour/audiosource.cc b/libs/ardour/audiosource.cc index 737a206c74..3c6d4f81b8 100644 --- a/libs/ardour/audiosource.cc +++ b/libs/ardour/audiosource.cc @@ -182,7 +182,7 @@ AudioSource::touch_peakfile () struct utimbuf tbuf; tbuf.actime = statbuf.st_atime; - tbuf.modtime = time ((time_t) 0); + tbuf.modtime = time ((time_t*) 0); utime (peakpath.c_str(), &tbuf); } -- cgit v1.2.3