diff options
author | Georgi Kodinov <joro@sun.com> | 2009-09-02 13:22:47 +0300 |
---|---|---|
committer | Georgi Kodinov <joro@sun.com> | 2009-09-02 13:22:47 +0300 |
commit | f0720480dc641195999086b5c36d3d6a03b1a935 (patch) | |
tree | ad2bd258297864f123c9991b895df5d1f0d69295 /sql/sql_table.cc | |
parent | 27065edafbe0bfaa2a0fab4b230d910a21014c90 (diff) | |
download | mariadb-git-f0720480dc641195999086b5c36d3d6a03b1a935.tar.gz |
Fixed win32 compilation warnings
Diffstat (limited to 'sql/sql_table.cc')
-rw-r--r-- | sql/sql_table.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_table.cc b/sql/sql_table.cc index 9f88fa93c06..4ec104aedc3 100644 --- a/sql/sql_table.cc +++ b/sql/sql_table.cc @@ -117,7 +117,7 @@ static char* add_identifier(char *to_p, const char * end_p, *(to_p++)= '`'; *(to_p++)= *(conv_name++); } - else if (length < (end_p - to_p)) + else if (((long) length) < (end_p - to_p)) { to_p= strnmov(to_p, conv_name, length); conv_name+= length; |