summaryrefslogtreecommitdiff
path: root/sql/sql_digest.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_digest.h')
-rw-r--r--sql/sql_digest.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_digest.h b/sql/sql_digest.h
index eaf74b9542e..81fe809b59d 100644
--- a/sql/sql_digest.h
+++ b/sql/sql_digest.h
@@ -54,10 +54,10 @@ struct sql_digest_storage
reset(NULL, 0);
}
- inline void reset(unsigned char *token_array, uint length)
+ inline void reset(unsigned char *token_array, size_t length)
{
m_token_array= token_array;
- m_token_array_length= length;
+ m_token_array_length= (uint)length;
reset();
}