Package: spiralsynthmodular
Version: 0.2.2a-3.1
Severity: normal
Tags: patch


Due to incorrect typing, the routine to build the menu of plugins crashes on
the AMD64 architecture.

Patch attached.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.20 (PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages spiralsynthmodular depends on:
ii  libc6                         2.5-4      GNU C Library: Shared libraries
ii  libfltk1.1                    1.1.7-4    Fast Light Toolkit shared librarie
ii  libgcc1                       1:4.1.2-4  GCC support library
ii  libjack0.100.0-0              0.103.0-1  JACK Audio Connection Kit (librari
ii  liblrdf0                      0.4.0-1    a library to manipulate RDF files 
ii  libsndfile1                   1.0.17-1   Library for reading/writing audio 
ii  libstdc++6                    4.1.2-4    The GNU Standard C++ Library v3

spiralsynthmodular recommends no packages.
--- LADSPAInfo.C.orig	2007-04-29 16:20:33.773610088 -0400
+++ LADSPAInfo.C	2007-04-29 16:22:11.039771525 -0400
@@ -325,11 +325,11 @@
 		string name;
 
 		// Escape '/' and '|' characters
-		unsigned int x = g->find_first_of("/|");
+		basic_string <char>::size_type x = g->find_first_of("/|");
 		if (x == string::npos) {
 			name = *g;
 		} else {
-			unsigned int last_x = 0;
+			basic_string <char>::size_type last_x = 0;
 			while (x < string::npos) {
 				name += g->substr(last_x, x - last_x) + '\\' + (*g)[x];
 				last_x = x + 1;
@@ -359,11 +359,11 @@
 			string name;
 
 		// Escape '/' and '|' characters
-			unsigned int x = pi->Name.find_first_of("/|");
+			basic_string <char>::size_type x = pi->Name.find_first_of("/|");
 			if (x == string::npos) {
 				name = pi->Name;
 			} else {
-				unsigned int last_x = 0;
+				basic_string <char>::size_type last_x = 0;
 				while (x < string::npos) {
 					name += pi->Name.substr(last_x, x - last_x) + '\\' + pi->Name[x];
 					last_x = x + 1;

Reply via email to