projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6ab652
)
fix compiler warning about possible buffer size issue
author
Paul Davis
<paul@linuxaudiosystems.com>
Tue, 8 Oct 2019 02:49:35 +0000
(20:49 -0600)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Tue, 8 Oct 2019 02:50:08 +0000
(20:50 -0600)
gtk2_ardour/luawindow.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/luawindow.cc
b/gtk2_ardour/luawindow.cc
index ef545a141ca4580f7418dc01c14fb0df36a40646..ee1475cfaf011d45f60b2fd5d94fdfd36818f6f8 100644
(file)
--- a/
gtk2_ardour/luawindow.cc
+++ b/
gtk2_ardour/luawindow.cc
@@
-495,7
+495,7
@@
LuaWindow::save_script ()
// 5) construct filename -- TODO ask user for name, ask to replace file.
do {
char tme[80];
- char buf[
8
0];
+ char buf[
10
0];
time_t t = time(0);
struct tm * timeinfo = localtime (&t);
strftime (tme, sizeof(tme), "%s", timeinfo);