diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2018-05-24 20:11:52 +0000 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2018-05-24 20:11:52 +0000 |
commit | b8fdd56a4d64d9bb02f2e3e9609af82e558cbcb5 (patch) | |
tree | b80e56d6fa420146ba3bb942dcede05dfe1f4bb3 /sql/field.h | |
parent | 7a4f81b4c0d78e51c7b260b6f84e2732fbb99192 (diff) | |
download | mariadb-git-b8fdd56a4d64d9bb02f2e3e9609af82e558cbcb5.tar.gz |
Fix conversion warnings/errors.
Diffstat (limited to 'sql/field.h')
-rw-r--r-- | sql/field.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/field.h b/sql/field.h index 7074a636ff9..4bf92faecdd 100644 --- a/sql/field.h +++ b/sql/field.h @@ -3319,7 +3319,7 @@ public: { store_length(ptr, packlength, number); } - inline uint32 get_length(uint row_offset= 0) const + inline uint32 get_length(my_ptrdiff_t row_offset= 0) const { return get_length(ptr+row_offset, this->packlength); } uint32 get_length(const uchar *ptr, uint packlength) const; uint32 get_length(const uchar *ptr_arg) const |