The first takes 32-bit integers as input.
The second takes 32-bit floats as input.
Are you using Singles when you do the second call?