From 3f6829abef9cc03bc344c4cad1bc7abe9490d1fd Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 28 Apr 2012 01:44:21 +0000 Subject: Lint. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4289 a436a847-0d15-0410-975c-d299462d15a1 --- src/osc/OSCClientReceiver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/osc/OSCClientReceiver.cpp') 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); } -- cgit v1.2.1