summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAdrian Graber <adrian@adriangraber.com>2021-02-16 18:12:21 +0100
committerGitHub <noreply@github.com>2021-02-16 18:12:21 +0100
commit19b39f49fa17ecefe925a7bf6ecc6a904fe77428 (patch)
treec4407b145141841509c02d83637f27fa7829ddda /src
parentMerge pull request #986 from AGraber/nx-upstream (diff)
downloadre3-19b39f49fa17ecefe925a7bf6ecc6a904fe77428.tar
re3-19b39f49fa17ecefe925a7bf6ecc6a904fe77428.tar.gz
re3-19b39f49fa17ecefe925a7bf6ecc6a904fe77428.tar.bz2
re3-19b39f49fa17ecefe925a7bf6ecc6a904fe77428.tar.lz
re3-19b39f49fa17ecefe925a7bf6ecc6a904fe77428.tar.xz
re3-19b39f49fa17ecefe925a7bf6ecc6a904fe77428.tar.zst
re3-19b39f49fa17ecefe925a7bf6ecc6a904fe77428.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/CdStreamPosix.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/CdStreamPosix.cpp b/src/core/CdStreamPosix.cpp
index 50d823d2..30fe06a0 100644
--- a/src/core/CdStreamPosix.cpp
+++ b/src/core/CdStreamPosix.cpp
@@ -57,7 +57,7 @@ re3_sem_close(sem_t* sem)
sem_t*
re3_sem_open(const char* format, ...)
{
- char semName[20];
+ char semName[21];
va_list va;
va_start(va, format);
vsprintf(semName, format, va);
@@ -71,7 +71,7 @@ re3_sem_close(sem_t* sem, const char* format, ...)
{
sem_close(sem);
- char semName[20];
+ char semName[21];
va_list va;
va_start(va, format);
vsprintf(semName, format, va);