diff options
Diffstat (limited to 'sql/thr_malloc.cc')
-rw-r--r-- | sql/thr_malloc.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/thr_malloc.cc b/sql/thr_malloc.cc index 9273b3eb5a5..e890019553f 100644 --- a/sql/thr_malloc.cc +++ b/sql/thr_malloc.cc @@ -53,7 +53,7 @@ gptr sql_calloc(uint size) char *sql_strdup(const char *str) { - uint len=strlen(str)+1; + uint len=(uint) strlen(str)+1; char *pos; if ((pos= (char*) sql_alloc(len))) memcpy(pos,str,len); |