mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
fix compiler warning about possible buffer size issue
This commit is contained in:
parent
e6ab652e74
commit
e5cb4d295e
1 changed files with 1 additions and 1 deletions
|
|
@ -495,7 +495,7 @@ LuaWindow::save_script ()
|
||||||
// 5) construct filename -- TODO ask user for name, ask to replace file.
|
// 5) construct filename -- TODO ask user for name, ask to replace file.
|
||||||
do {
|
do {
|
||||||
char tme[80];
|
char tme[80];
|
||||||
char buf[80];
|
char buf[100];
|
||||||
time_t t = time(0);
|
time_t t = time(0);
|
||||||
struct tm * timeinfo = localtime (&t);
|
struct tm * timeinfo = localtime (&t);
|
||||||
strftime (tme, sizeof(tme), "%s", timeinfo);
|
strftime (tme, sizeof(tme), "%s", timeinfo);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue