That will work. Thanks.
I am still worried that there are some other silent conversions that I may have missed. Maybe I will have to translate the tests too 
For all the hoopla made about preventing C-style type mismatch bugs it seems strange that some still lurk in dark corners to catch the unwary.