diff options
author | Gerald Combs <gerald@wireshark.org> | 2012-09-25 15:27:36 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2012-09-25 15:27:36 +0000 |
commit | e395a29ad6ec9dd2507b2b7a9172b9320502c94e (patch) | |
tree | 00eaa92cb81d71a96748be4fa58bfa68184fc048 /version_info.c | |
parent | b2eab3e0d4ba05188c90905fd4d3e08e1b339ac8 (diff) | |
download | wireshark-e395a29ad6ec9dd2507b2b7a9172b9320502c94e.tar.gz wireshark-e395a29ad6ec9dd2507b2b7a9172b9320502c94e.tar.bz2 wireshark-e395a29ad6ec9dd2507b2b7a9172b9320502c94e.zip |
Fix compilation warnings.
svn path=/trunk/; revision=45133
Diffstat (limited to 'version_info.c')
-rw-r--r-- | version_info.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |