Fixed (wrong) compiler warning

This commit is contained in:
Michael Widenius 2010-12-04 12:54:35 +02:00
commit 9baab6f5e3

View file

@ -1046,7 +1046,7 @@ static inline void dec_counter_for_resize_op(PAGECACHE *pagecache)
("thread %ld", last_thread->next->id));
pagecache_pthread_cond_signal(&last_thread->next->suspend);
}
DBUG_ASSERT((longlong) pagecache->cnt_for_resize_op >= 0);
DBUG_ASSERT(((longlong) pagecache->cnt_for_resize_op) >= 0);
#else
pagecache->cnt_for_resize_op--;
#endif