diff options
author | Uoti Urpala <uau@symbol.nonexistent.invalid> | 2008-04-28 11:25:49 +0300 |
---|---|---|
committer | Uoti Urpala <uau@symbol.nonexistent.invalid> | 2008-04-28 12:16:13 +0300 |
commit | c693b77e935e7e34e21bafed2df0ff891d0e25ac (patch) | |
tree | e78089c8dd189c493fb27634905f59573243b8db /osdep/timer-win2.c | |
parent | e5fab9566dbb408ebf651607d5ff58b5ed39453a (diff) | |
download | mpv-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-win2.c')
-rw-r--r-- | osdep/timer-win2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/osdep/timer-win2.c b/osdep/timer-win2.c index 2f0b5c3075..ef52a665d3 100644 --- a/osdep/timer-win2.c +++ b/osdep/timer-win2.c @@ -4,7 +4,7 @@ #include <mmsystem.h> #include "timer.h" -const char *timer_name = "Windows native"; +const char timer_name[] = "Windows native"; // Returns current time in microseconds unsigned int GetTimer(){ |