mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
atomic ops:
my_atomic_XX_t -> intXX, no implicit locking anymore simplified framework, support for requested cleanups dbug/dbug.c: compiler warning include/atomic/nolock.h: my_atomic_XX_t -> intXX include/atomic/rwlock.h: my_atomic_XX_t -> intXX, no implicit locking anymore include/atomic/x86-gcc.h: my_atomic_XX_t -> intXX, no implicit locking anymore include/atomic/x86-msvc.h: my_atomic_XX_t -> intXX simplified defines support for cleanups include/my_atomic.h: my_atomic_XX_t -> intXX, no implicit locking anymore simplified framework, support for requested cleanups unittest/examples/no_plan-t.c: compiler warning unittest/mysys/Makefile.am: fix for dependencies unittest/mysys/my_atomic-t.c: my_atomic_XX_t -> intXX, no implicit locking anymore unittest/mytap/tap.c: cosmetic fix
This commit is contained in:
@@ -1728,7 +1728,7 @@ static void DoPrefix(CODE_STATE *cs, uint _line_)
|
||||
struct tm *tm_p;
|
||||
if (gettimeofday(&tv, NULL) != -1)
|
||||
{
|
||||
if ((tm_p= localtime(&tv.tv_sec)))
|
||||
if ((tm_p= localtime((const time_t *)&tv.tv_sec)))
|
||||
{
|
||||
(void) fprintf (cs->stack->out_file,
|
||||
/* "%04d-%02d-%02d " */
|
||||
|
Reference in New Issue
Block a user