I used this small code snippet to produce 1M ints into a file and threw dieharder on the file, and while one run said one test was WEAK, the second run (on another machine) said the output PASSED all tests, so indeed it seems to be a decent PRNG, as far as small testing can tell.
Quite interesting for such a small subroutine.