This is an autogenerated patch header for a single-debian-patch file. The
delta against upstream is either kept as a single patch, or maintained
in some VCS, and exported as a single patch instead of more manageable
atomic patches.

--- stopmotion-0.8.5.orig/src/technical/audio/qtaudiodriver.cpp
+++ stopmotion-0.8.5/src/technical/audio/qtaudiodriver.cpp
@@ -102,7 +102,7 @@ private:
 		char* buf = reinterpret_cast<char*>(&*buffer.begin());
 		while (0 < length) {
 			int len2 = s->fillBuffer(buf,
-				std::min(length, buffer_size * sizeof(sample_t)));
+				std::min(length, (unsigned long)buffer_size * sizeof(sample_t)));
 			if (len2 == 0) {
 				return false;
 			}
--- stopmotion-0.8.5.orig/src/test/test.pro
+++ stopmotion-0.8.5/src/test/test.pro
@@ -99,7 +99,8 @@ SOURCES += \
 FORMS +=
 RESOURCES +=
 INCLUDEPATH += ../.. \
-    $$system(xml2-config --cflags | sed -e 's/-I//g')
+    $$system(pkg-config libxml-2.0 --cflags | sed -e 's/-I//g') \
+    $$system(pkg-config vorbisfile --cflags | sed -e 's/-I//g' )
 oomteststub.target = oomteststub.o
 oomteststub.commands = make -f oomtestutil.mak oomteststub.o
 oomteststub.depends = oomteststub.cpp oomtestutil.h
@@ -110,8 +111,8 @@ QMAKE_EXTRA_TARGETS += oomtestutil oomte
 QMAKE_CLEAN += oomteststub.o oomtestutil.so
 PRE_TARGETDEPS = oomteststub.o
 LIBS += oomteststub.o -ldl \
-	$$system(xml2-config --libs) \
-	-ltar -lvorbisfile
+	$$system(pkg-config libxml-2.0 --libs) \
+	-ltar $$system(pkg-config vorbisfile --libs)
 DESTDIR=.
 release:OBJECTS_DIR=build/release
 release:TARGET = test
--- stopmotion-0.8.5.orig/src/test/testundo.cpp
+++ stopmotion-0.8.5/src/test/testundo.cpp
@@ -574,7 +574,7 @@ void testUndo(Executor& e, ModelTestHelp
 	FileCommandLogger fileLogger;
 	static const char tmpDirTemplate[] = "/tmp/lsmXXXXXX";
 	char tmpDirName[sizeof(tmpDirTemplate)];
-	strncpy(tmpDirName, tmpDirTemplate, sizeof(tmpDirTemplate));
+	strncpy(tmpDirName, tmpDirTemplate, sizeof(tmpDirName));
 	mkdtemp(tmpDirName);
 	std::string tmpFileName(tmpDirName);
 	tmpFileName += "/command.log";
