Miscellaneous patches from users

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4654 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Luigi Ballabio 2003-04-02 07:41:56 +00:00
commit b416beb9e3
3 changed files with 8 additions and 6 deletions

View file

@ -203,7 +203,7 @@ namespace std{
}
else {
self->erase(first,end);
if (i+1 <= self->size())
if (i+1 <= int(self->size()))
{
first = self->begin();
for (int k=0;k<i;k++)