beaglebone: replaced size_t with int