summaryrefslogtreecommitdiff
path: root/sql/field.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/field.h')
-rw-r--r--sql/field.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/field.h b/sql/field.h
index 3c6e318f270..736c51c2ac3 100644
--- a/sql/field.h
+++ b/sql/field.h
@@ -3753,7 +3753,7 @@ public:
const char *field_name_arg) const
{
return ::make_field(share, mem_root, ptr,
- length, null_pos, null_bit,
+ (uint32)length, null_pos, null_bit,
pack_flag, sql_type, charset,
geom_type, srid, unireg_check, interval,
field_name_arg);