64 Bit warnings - revert changes to error structure that changed position to size_t, instead cast to int when setting the position.