--- LADSPAInfo.C.orig	2006-02-08 23:17:02.000000000 +0100
+++ LADSPAInfo.C	2006-02-08 23:08:10.000000000 +0100
@@ -325,11 +325,11 @@
 		string name;
 
 		// Escape '/' and '|' characters
-		unsigned int x = g->find_first_of("/|");
+		unsigned long x = g->find_first_of("/|");
 		if (x == string::npos) {
 			name = *g;
 		} else {
-			unsigned int last_x = 0;
+			unsigned long 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("/|");
+			unsigned long x = pi->Name.find_first_of("/|");
 			if (x == string::npos) {
 				name = pi->Name;
 			} else {
-				unsigned int last_x = 0;
+				unsigned long last_x = 0;
 				while (x < string::npos) {
 					name += pi->Name.substr(last_x, x - last_x) + '\\' + pi->Name[x];
 					last_x = x + 1;
