[RESEND][PATCH] gadget: f_thor: fix wrong file size cast