From e395a29ad6ec9dd2507b2b7a9172b9320502c94e Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Tue, 25 Sep 2012 15:27:36 +0000 Subject: Fix compilation warnings. svn path=/trunk/; revision=45133 --- version_info.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'version_info.c') diff --git a/version_info.c b/version_info.c index 24639e7c99..0ecc6ebd6f 100644 --- a/version_info.c +++ b/version_info.c @@ -218,9 +218,9 @@ get_string_from_dictionary(CFPropertyListRef dict, CFStringRef key) static gboolean get_os_x_version_info(GString *str) { - static const char server_version_plist_path[] = + static const UInt8 server_version_plist_path[] = "/System/Library/CoreServices/ServerVersion.plist"; - static const char system_version_plist_path[] = + static const UInt8 system_version_plist_path[] = "/System/Library/CoreServices/SystemVersion.plist"; CFURLRef version_plist_file_url; CFReadStreamRef version_plist_stream; -- cgit v1.2.3