Fix Warning incompatible pointer type

passing argument 2 of ‘r_file_slurp’ from incompatible pointer type [enabled by default]