mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
'libs/audiographer' - Use 'alloca()' for a stack based array whose size is unknown (required to be buildable with MSVC)
This commit is contained in:
parent
5c8306f148
commit
e14966e778
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ namespace AudioGrapher
|
|||
static void
|
||||
snprintf_bounded_null_filled (char* target, size_t target_size, char const * fmt, ...)
|
||||
{
|
||||
char buf[target_size+1];
|
||||
char *buf = (char*)alloca(target_size+1);
|
||||
va_list ap;
|
||||
|
||||
va_start (ap, fmt);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue