summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fl_open_uri.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fl_open_uri.cxx b/src/fl_open_uri.cxx
index 38da38af4..bd12f6a66 100644
--- a/src/fl_open_uri.cxx
+++ b/src/fl_open_uri.cxx
@@ -117,9 +117,9 @@ fl_open_uri(const char *uri, char *msg, int msglen) {
#elif defined(__APPLE__)
char *argv[3]; // Command-line arguments
- argv[0] = "open";
- argv[1] = (char *)uri;
- argv[2] = 0;
+ argv[0] = (char*)"open";
+ argv[1] = (char*)uri;
+ argv[2] = (char*)0;
if (msg) snprintf(msg, msglen, "open %s", uri);