Fix MSVS 2013 warning about a condition being always true.

Use "for(;;)" for the infinite loop to avoid the warning at /W4 warning level.
Merge pull request #10 from vadz/master

Fix MSVS 2013 warning about a condition being always true.