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/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";
