summaryrefslogtreecommitdiff
path: root/sql/field.h
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@mariadb.com>2016-03-22 18:44:46 +0100
committerVladislav Vaintroub <wlad@mariadb.com>2016-03-22 18:46:02 +0100
commit6950f83d5e105f289399a58b38e8956a4c39072c (patch)
tree5ef40ae42c1db789d4b546709d22a1d6f6e94565 /sql/field.h
parent642978cc57285f182740aa2794ffb145bd1d09b1 (diff)
downloadmariadb-git-6950f83d5e105f289399a58b38e8956a4c39072c.tar.gz
fix most annoying warnings on Windows
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);