summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <sergefp@mysql.com>2005-05-01 19:03:49 +0400
committerunknown <sergefp@mysql.com>2005-05-01 19:03:49 +0400
commit7ecca388affd6c3aeea2243b383356df71ea34fa (patch)
treeed371769f0c5b948c5a303786a0cc8c2e9d810ae
parent3b6043870d5764add22078f3785c059fe760e7f7 (diff)
parent9319613191a8acf8d1f65c1517cdca96bff07ec9 (diff)
downloadmariadb-git-7ecca388affd6c3aeea2243b383356df71ea34fa.tar.gz
Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/psergey/mysql-4.1-bug9228
-rw-r--r--sql/protocol.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/protocol.cc b/sql/protocol.cc
index 485605ce8cd..91061426f04 100644
--- a/sql/protocol.cc
+++ b/sql/protocol.cc
@@ -810,7 +810,7 @@ bool Protocol_simple::store_long(longlong from)
#endif
char buff[20];
return net_store_data((char*) buff,
- (uint) (int10_to_str((int)from,buff, (from <0)?-10:10)-buff));
+ (uint) (int10_to_str((long int)from,buff, (from <0)?-10:10)-buff));
}