Merge mysql.com:/home/kent/bk/bug30069/mysql-5.0-build

into  mysql.com:/home/kent/bk/bug30069/mysql-5.1-build
This commit is contained in:
kent@kent-amd64.(none) 2007-09-28 22:38:21 +02:00
commit a9366e4878

View file

@ -853,7 +853,7 @@ size_t my_long10_to_str_8bit(CHARSET_INFO *cs __attribute__((unused)),
{ {
if (val < 0) if (val < 0)
{ {
val= -val; val= -(unsigned long int)val;
*dst++= '-'; *dst++= '-';
len--; len--;
sign= 1; sign= 1;
@ -890,7 +890,7 @@ size_t my_longlong10_to_str_8bit(CHARSET_INFO *cs __attribute__((unused)),
{ {
if (val < 0) if (val < 0)
{ {
val = -val; val = -(ulonglong)val;
*dst++= '-'; *dst++= '-';
len--; len--;
sign= 1; sign= 1;