read_file takes a size_t argument as size, so use this type for the size variable. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>