Cast param for std::time to a pointer of time_t
- bleeding clang (trunk 186535 v3.4) fails here
This commit is contained in:
parent
a8456b3766
commit
cdc9d95e92
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user