File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414// Local globals...
1515//
1616
17- static bool cups_clock_init = false; // Clock initialized?
17+ static int cups_clock_init = 0 ; // Clock initialized?
1818static _cups_mutex_t cups_clock_mutex = _CUPS_MUTEX_INITIALIZER ;
1919 // Mutex to control access
2020#ifdef _WIN32
@@ -60,7 +60,7 @@ _cupsGetClock(void)
6060 if (!cups_clock_init )
6161 {
6262 // First time through initialize the initial tick count...
63- cups_clock_init = true ;
63+ cups_clock_init = 1 ;
6464 cups_first_tick = curtick ;
6565 }
6666
@@ -82,7 +82,7 @@ _cupsGetClock(void)
8282 if (!cups_clock_init )
8383 {
8484 // First time through initialize the initial clock value...
85- cups_clock_init = true ;
85+ cups_clock_init = 1 ;
8686 cups_first_clock = curclock ;
8787 }
8888
@@ -98,7 +98,7 @@ _cupsGetClock(void)
9898 if (!cups_clock_init )
9999 {
100100 // First time through initialize the initial clock value...
101- cups_clock_init = true ;
101+ cups_clock_init = 1 ;
102102 cups_first_time = curtime ;
103103 }
104104
You can’t perform that action at this time.
0 commit comments