summaryrefslogtreecommitdiff
path: root/unittest
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mysql.com>2008-10-21 17:13:24 +0200
committerSergei Golubchik <serg@mysql.com>2008-10-21 17:13:24 +0200
commitf8fc47f062c0b30ecf491cd1e4e9eeba84565044 (patch)
tree8353abdb1189c0afcf41df390e105b2e11b76dab /unittest
parentc6a51b044739d6c1b0406ba7561334b1c373a022 (diff)
downloadmariadb-git-f8fc47f062c0b30ecf491cd1e4e9eeba84565044.tar.gz
warnings on windows
Diffstat (limited to 'unittest')
-rw-r--r--unittest/mysys/waiting_threads-t.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unittest/mysys/waiting_threads-t.c b/unittest/mysys/waiting_threads-t.c
index dc3cf7d6265..953b02f3eb9 100644
--- a/unittest/mysys/waiting_threads-t.c
+++ b/unittest/mysys/waiting_threads-t.c
@@ -54,7 +54,7 @@ pthread_handler_t test_wt(void *arg)
my_rnd_init(&rand, (ulong)(intptr)&m, id);
if (kill_strategy == YOUNGEST)
- thds[id].thd.weight= (ulong volatile)~my_getsystime();
+ thds[id].thd.weight= (ulong)~my_getsystime();
if (kill_strategy == LOCKS)
thds[id].thd.weight= 0;
@@ -104,7 +104,7 @@ retry:
if (kill_strategy == LOCKS)
thds[id].thd.weight= 0;
if (kill_strategy == YOUNGEST)
- thds[id].thd.weight= (ulong volatile)~my_getsystime();
+ thds[id].thd.weight= (ulong)~my_getsystime();
}
else if (kill_strategy == LOCKS)
thds[id].thd.weight++;