Commit 04dc6639 authored by Gleb Shchepa's avatar Gleb Shchepa

warning elimination

parent 8c249ba8
...@@ -3333,7 +3333,7 @@ String *Item_func_uuid::val_str(String *str) ...@@ -3333,7 +3333,7 @@ String *Item_func_uuid::val_str(String *str)
/* /*
-1 so we won't make tv= uuid_time for nanoseq >= (tv - uuid_time) -1 so we won't make tv= uuid_time for nanoseq >= (tv - uuid_time)
*/ */
long delta= min(nanoseq, tv - uuid_time -1); long delta= min(nanoseq, (long) (tv - uuid_time -1));
tv-= delta; tv-= delta;
nanoseq-= delta; nanoseq-= delta;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment