diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/mac_updater/mac_updater.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/linden/indra/mac_updater/mac_updater.cpp b/linden/indra/mac_updater/mac_updater.cpp index 43d9955..79783d3 100644 --- a/linden/indra/mac_updater/mac_updater.cpp +++ b/linden/indra/mac_updater/mac_updater.cpp | |||
@@ -68,8 +68,8 @@ EventHandlerRef gEventHandler = NULL; | |||
68 | OSStatus gFailure = noErr; | 68 | OSStatus gFailure = noErr; |
69 | Boolean gCancelled = false; | 69 | Boolean gCancelled = false; |
70 | 70 | ||
71 | char *gUpdateURL; | 71 | const char *gUpdateURL; |
72 | char *gProductName; | 72 | const char *gProductName; |
73 | 73 | ||
74 | void *updatethreadproc(void*); | 74 | void *updatethreadproc(void*); |
75 | 75 | ||
@@ -1032,7 +1032,7 @@ void *updatethreadproc(void*) | |||
1032 | if(!mountOutput.empty()) | 1032 | if(!mountOutput.empty()) |
1033 | { | 1033 | { |
1034 | const char *s = mountOutput.c_str(); | 1034 | const char *s = mountOutput.c_str(); |
1035 | char *prefix = "/dev/"; | 1035 | const char *prefix = "/dev/"; |
1036 | char *sub = strstr(s, prefix); | 1036 | char *sub = strstr(s, prefix); |
1037 | 1037 | ||
1038 | if(sub != NULL) | 1038 | if(sub != NULL) |