Fix for Windows x32 vault signed/unsigned mismatch.