Changed a few 'int's to 'size_t'.  Hopefully this will take care of the issue.  I don't have enough memory to test it on Lane's file though.