13
0

Cast param for std::time to a pointer of time_t

- bleeding clang (trunk 186535 v3.4) fails here
This commit is contained in:
Michael Fisher 2013-07-17 16:05:09 -05:00 committed by Paul Davis
parent bfbc55a673
commit af148ff130

View 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);
}