Fix compiler error on Win64 - do not truncate pointer in DBUG
Fix truncation warning on Windows, in a populart header, with a cast.
This commit is contained in:
parent
fcf631eafb
commit
c3a44c2701
@ -489,8 +489,8 @@ public:
|
||||
bool get_date_from_date_op(MYSQL_TIME *ltime, ulonglong fuzzydate)
|
||||
{
|
||||
return date_op(ltime,
|
||||
fuzzydate |
|
||||
(field_type() == MYSQL_TYPE_TIME ? TIME_TIME_ONLY : 0));
|
||||
(uint)(fuzzydate |
|
||||
(field_type() == MYSQL_TYPE_TIME ? TIME_TIME_ONLY : 0)));
|
||||
}
|
||||
|
||||
// Value methods that involve conversion
|
||||
|
@ -2343,8 +2343,8 @@ sp_head::backpatch_goto(THD *thd, sp_label *lab,sp_label *lab_begin_block)
|
||||
if (bp->instr_type == GOTO)
|
||||
{
|
||||
DBUG_PRINT("info",
|
||||
("backpatch_goto: (m_ip %d, label 0x%lx <%s>) to dest %d",
|
||||
bp->instr->m_ip, (ulong) lab, lab->name.str, dest));
|
||||
("backpatch_goto: (m_ip %d, label %p <%s>) to dest %d",
|
||||
bp->instr->m_ip, lab, lab->name.str, dest));
|
||||
bp->instr->backpatch(dest, lab->ctx);
|
||||
// Jump resolved, remove from the list
|
||||
li.remove();
|
||||
|
Loading…
x
Reference in New Issue
Block a user