diff options
author | David Robillard <d@drobilla.net> | 2012-04-28 01:44:21 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-04-28 01:44:21 +0000 |
commit | 3f6829abef9cc03bc344c4cad1bc7abe9490d1fd (patch) | |
tree | d730acc84e982a5329aacccf7f68b25beb258071 /src/osc/OSCClientReceiver.cpp | |
parent | 70f4bcdde45e94dbe27300a5069994aebc523cab (diff) | |
download | ingen-3f6829abef9cc03bc344c4cad1bc7abe9490d1fd.tar.gz ingen-3f6829abef9cc03bc344c4cad1bc7abe9490d1fd.tar.bz2 ingen-3f6829abef9cc03bc344c4cad1bc7abe9490d1fd.zip |
Lint.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4289 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/osc/OSCClientReceiver.cpp')
-rw-r--r-- | src/osc/OSCClientReceiver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osc/OSCClientReceiver.cpp b/src/osc/OSCClientReceiver.cpp index 8717af24..7cba4c40 100644 --- a/src/osc/OSCClientReceiver.cpp +++ b/src/osc/OSCClientReceiver.cpp @@ -60,7 +60,7 @@ OSCClientReceiver::start(bool dump_osc) // Attempt preferred port if (_listen_port != 0) { char port_str[8]; - snprintf(port_str, 8, "%d", _listen_port); + snprintf(port_str, sizeof(port_str), "%d", _listen_port); _st = lo_server_thread_new(port_str, lo_error_cb); } |