Fix type error. Not sure why only the windows compiler found this bug
Fix error in example code
"