projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8456b3
)
Cast param for std::time to a pointer of time_t
author
Michael Fisher
<mfisher@bketech.com>
Wed, 17 Jul 2013 21:05:09 +0000
(16:05 -0500)
committer
Michael 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
patch
|
blob
|
history
diff --git
a/libs/ardour/audiosource.cc
b/libs/ardour/audiosource.cc
index 74dd52d5044ba3fa1e85d438a2a7608337c61c99..84a5b687f969a84bbcfee89ac4fcafe82ab450de 100644
(file)
--- 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);
}