add explicit casts and consts to the vector converter thingy
add explicit casts and consts to the vector converter thingy

dougalsutherland/sdm,dougalsutherland/sdm,dougalsutherland/sdm,dougalsutherland/sdm