mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
ctype-simple.c: Backport quick fix to remove Windows compiler warnings
This commit is contained in:
parent
6453025165
commit
44d74f631f
1 changed files with 2 additions and 2 deletions
|
@ -802,7 +802,7 @@ int my_long10_to_str_8bit(CHARSET_INFO *cs __attribute__((unused)),
|
|||
{
|
||||
if (val < 0)
|
||||
{
|
||||
val= -(unsigned long int)val;
|
||||
val= ULL(0) - (unsigned long int)val;
|
||||
*dst++= '-';
|
||||
len--;
|
||||
sign= 1;
|
||||
|
@ -838,7 +838,7 @@ int my_longlong10_to_str_8bit(CHARSET_INFO *cs __attribute__((unused)),
|
|||
{
|
||||
if (val < 0)
|
||||
{
|
||||
val = -(ulonglong)val;
|
||||
val = ULL(0) - (ulonglong)val;
|
||||
*dst++= '-';
|
||||
len--;
|
||||
sign= 1;
|
||||
|
|
Loading…
Reference in a new issue