$OpenBSD: patch-src_MuleCollection_cpp,v 1.1 2016/06/03 11:54:44 dcoppa Exp $

From bb890318844e571fc18d3b80d79cbc8bece54540 Mon Sep 17 00:00:00 2001
From: upstream svn <svn@amule.org>
Date: Wed, 7 Oct 2015 17:00:13 +0000
Subject: [PATCH] Use the proper return type of
std::string.length() and std::string.size()

--- src/MuleCollection.cpp.orig	Fri Jun  3 12:19:58 2016
+++ src/MuleCollection.cpp	Fri Jun  3 12:20:20 2016
@@ -359,7 +359,7 @@ bool CMuleCollection::OpenText(const std::string &File
 	}
 	
 	while (getline(infile, line, (char)10 /* LF */)) {
-		int last = line.size()-1;
+		size_t last = line.size()-1;
 		if ((1 < last) && ((char)13 /* CR */ == line.at(last))) {
 			line.erase(last);
 		}
