diff options
author | sletz <sletz@0c269be4-1314-0410-8aa9-9f06e86f4224> | 2011-11-16 16:53:02 +0000 |
---|---|---|
committer | sletz <sletz@0c269be4-1314-0410-8aa9-9f06e86f4224> | 2011-11-16 16:53:02 +0000 |
commit | b70bef511baf1791fc1704735b54f8e2c7b60e76 (patch) | |
tree | 967f4bad41ec4c90724b777acb3a146dcbfb73b3 /windows/JackWinSemaphore.h | |
parent | 00b166e7318b839e70a485c8fe2205bfd95f6deb (diff) | |
download | jack2-b70bef511baf1791fc1704735b54f8e2c7b60e76.tar.gz |
Cleanup code using snprintf(2).
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4587 0c269be4-1314-0410-8aa9-9f06e86f4224
Diffstat (limited to 'windows/JackWinSemaphore.h')
-rw-r--r-- | windows/JackWinSemaphore.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/windows/JackWinSemaphore.h b/windows/JackWinSemaphore.h index 04779699..c3871c9a 100644 --- a/windows/JackWinSemaphore.h +++ b/windows/JackWinSemaphore.h @@ -1,20 +1,20 @@ /* Copyright (C) 2004-2008 Grame - + This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. - + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. - + You should have received a copy of the GNU Lesser General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - + */ @@ -41,7 +41,7 @@ class JackWinSemaphore : public detail::JackSynchro protected: - void BuildName(const char* name, const char* server_name, char* res); + void BuildName(const char* name, const char* server_name, char* res, int size); public: |