se typecast 'size_t' on 'reg', not only avoid the related warning, but