Cast param for std::time to a pointer of time_t
authorMichael Fisher <mfisher@bketech.com>
Wed, 17 Jul 2013 21:05:09 +0000 (16:05 -0500)
committerMichael Fisher <mfisher31@gmail.com>
Mon, 29 Jul 2013 19:43:12 +0000 (14:43 -0500)
- bleeding clang (trunk 186535 v3.4) fails here

libs/ardour/audiosource.cc

index 74dd52d5044ba3fa1e85d438a2a7608337c61c99..84a5b687f969a84bbcfee89ac4fcafe82ab450de 100644 (file)
@@ -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);
 }