From c693b77e935e7e34e21bafed2df0ff891d0e25ac Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Mon, 28 Apr 2008 11:25:49 +0300 Subject: 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. --- osdep/timer-win2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'osdep/timer-win2.c') 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 #include "timer.h" -const char *timer_name = "Windows native"; +const char timer_name[] = "Windows native"; // Returns current time in microseconds unsigned int GetTimer(){ -- cgit v1.2.3