[PATCH] Fix compile warnings with Platform::GetFile

Forgot to reply all:

patch-warnings-GetFile.txt (10.6 KB)

Looks good.