diff options
author | Sergei Golubchik <sergii@pisem.net> | 2011-03-26 11:59:34 +0100 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2011-03-26 11:59:34 +0100 |
commit | e016a2f5f00774f8126974fa26c7550bf0e60c84 (patch) | |
tree | 4db64207e28ec3b6c18d1f2a3fbd69126313a3db /sql-common | |
parent | c41b66c07f4c8de57154644aae97d075f4766170 (diff) | |
download | mariadb-git-e016a2f5f00774f8126974fa26c7550bf0e60c84.tar.gz |
lp:705210 Compiling with BUILD/compile-pentium64-debug fails
Diffstat (limited to 'sql-common')
-rw-r--r-- | sql-common/my_time.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql-common/my_time.c b/sql-common/my_time.c index d9d53107b8b..9bae4dec120 100644 --- a/sql-common/my_time.c +++ b/sql-common/my_time.c @@ -1351,7 +1351,7 @@ longlong pack_time(MYSQL_TIME *my_time) my_time->second_part) * (my_time->neg ? -1 : 1); } -#define get_one(WHERE, FACTOR) WHERE= packed % FACTOR; packed/= FACTOR +#define get_one(WHERE, FACTOR) WHERE= (ulong)(packed % FACTOR); packed/= FACTOR MYSQL_TIME *unpack_time(longlong packed, MYSQL_TIME *my_time) { |