summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorAdrian Graber <adrian@adriangraber.com>2021-02-16 18:12:21 +0100
committerwithmorten <morten.with@gmail.com>2021-02-16 18:26:07 +0100
commit88c11e92d393337303eec0e6273d7e5c71ad6cf5 (patch)
tree1e824490424d7c88f064e03e9b428d07eb7d13b8 /src/core
parentFix FindClose->closedir (diff)
downloadre3-88c11e92d393337303eec0e6273d7e5c71ad6cf5.tar
re3-88c11e92d393337303eec0e6273d7e5c71ad6cf5.tar.gz
re3-88c11e92d393337303eec0e6273d7e5c71ad6cf5.tar.bz2
re3-88c11e92d393337303eec0e6273d7e5c71ad6cf5.tar.lz
re3-88c11e92d393337303eec0e6273d7e5c71ad6cf5.tar.xz
re3-88c11e92d393337303eec0e6273d7e5c71ad6cf5.tar.zst
re3-88c11e92d393337303eec0e6273d7e5c71ad6cf5.zip
Diffstat (limited to 'src/core')
-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);