changeset 110:f57047e0522b

* Merge rev 1048 (build fixes) from rdf-import branch
author Chris Cannam
date Tue, 29 Apr 2008 09:44:44 +0000
parents 2dd30a7cd21a
children c82913d31a53
files audioio/AudioJACKTarget.cpp
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/audioio/AudioJACKTarget.cpp	Fri Mar 14 17:14:21 2008 +0000
+++ b/audioio/AudioJACKTarget.cpp	Tue Apr 29 09:44:44 2008 +0000
@@ -21,6 +21,8 @@
 #include <iostream>
 #include <cmath>
 
+#include <alloca.h>
+
 //#define DEBUG_AUDIO_JACK_TARGET 1
 
 #ifdef BUILD_STATIC
@@ -354,7 +356,7 @@
 	char name[20];
 	jack_port_t *port;
 
-	sprintf(name, "out %d", m_outputs.size() + 1);
+	sprintf(name, "out %d", int(m_outputs.size() + 1));
 
 	port = jack_port_register(m_client,
 				  name,