Merge pull request #1856 from WalterBright/size_t_error

propagate size_t errors