The second parameter should be GStatBuf*, which will be defined to be the right struct depending on the actual platform. Using `struct stat*` was good on Linux but was outputting warnings on other platforms (at least on Win32). (cherry picked from commit 6bc6a07b)