Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

bk commit into 4.1 tree (kent:1.2685) BUG#30069

From: <kent(at)mysql.com>
Date: Fri Sep 28 2007 - 16:35:49 EDT


Below is the list of changes that have just been committed into a local 4.1 repository of kent. When kent does a push these changes will be propagated to the main repository and, within 24 hours after the push, to the public repository.
For information on how to access the public repository see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet@1.2685, 2007-09-28 22:35:48+02:00, kent@mysql.com +1 -0   ctype-simple.c:
    Avoid undefined value when negating (bug#30069)

  strings/ctype-simple.c@1.69, 2007-09-28 22:33:23+02:00, kent@mysql.com +2 -2     Avoid undefined value when negating (bug#30069)

diff -Nrup a/strings/ctype-simple.c b/strings/ctype-simple.c

--- a/strings/ctype-simple.c	2005-12-12 18:39:13 +01:00
+++ b/strings/ctype-simple.c	2007-09-28 22:33:23 +02:00

@@ -802,7 +802,7 @@ int my_long10_to_str_8bit(CHARSET_INFO *

   {

     if (val < 0)
     {
-      val= -val;
+      val= -(unsigned long int)val;
       *dst++= '-';
       len--;
       sign= 1;

@@ -838,7 +838,7 @@ int my_longlong10_to_str_8bit(CHARSET_IN

   {

     if (val < 0)
     {
-      val = -val;
+      val = -(ulonglong)val;
       *dst++= '-';
       len--;
       sign= 1;
-- 
MySQL Code Commits Mailing List
For list archives: 
http://lists.mysql.com/commits
To unsubscribe:    
http://lists.mysql.com/commits?unsub=lists@pantek.com
Received on Fri Sep 28 16:36:08 2007

This archive was generated by hypermail 2.1.8 : Sun Oct 07 2007 - 09:44:41 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library