summaryrefslogtreecommitdiffstats
path: root/osdep/timer-darwin.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@symbol.nonexistent.invalid>2008-04-28 11:25:49 +0300
committerUoti Urpala <uau@symbol.nonexistent.invalid>2008-04-28 12:16:13 +0300
commitc693b77e935e7e34e21bafed2df0ff891d0e25ac (patch)
treee78089c8dd189c493fb27634905f59573243b8db /osdep/timer-darwin.c
parente5fab9566dbb408ebf651607d5ff58b5ed39453a (diff)
downloadmpv-c693b77e935e7e34e21bafed2df0ff891d0e25ac.tar.bz2
mpv-c693b77e935e7e34e21bafed2df0ff891d0e25ac.tar.xz
osdep: Change timer_name to a saner type
timer_name was a (non-const) pointer to a const char array. Make the symbol the array itself.
Diffstat (limited to 'osdep/timer-darwin.c')
-rw-r--r--osdep/timer-darwin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/osdep/timer-darwin.c b/osdep/timer-darwin.c
index 68029d1fdc..38de7dea9d 100644
--- a/osdep/timer-darwin.c
+++ b/osdep/timer-darwin.c
@@ -30,7 +30,7 @@
static double relative_time, startup_time;
static double timebase_ratio;
-const char *timer_name = "Darwin accurate";
+const char timer_name[] = "Darwin accurate";