summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <peter@linux.local>2002-06-22 11:44:46 +0400
committerunknown <peter@linux.local>2002-06-22 11:44:46 +0400
commitf8360c99e7f6bf7bd926eddfa7af743c5ab7d2da (patch)
tree6e90034a657d7c0f48951da4ea3fe6cc359a0200
parent7086fbb8ae82375d352d263fdeff4380957969ad (diff)
downloadmariadb-git-f8360c99e7f6bf7bd926eddfa7af743c5ab7d2da.tar.gz
Minor compilation fix
sql/item_strfunc.cc: Fix type name typo
-rw-r--r--sql/item_strfunc.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_strfunc.cc b/sql/item_strfunc.cc
index dfb53a32910..f692ebc31ed 100644
--- a/sql/item_strfunc.cc
+++ b/sql/item_strfunc.cc
@@ -109,7 +109,7 @@ String *Item_func_sha::val_str(String *str)
{
SHA1_CONTEXT context; /* Context used to generate SHA1 hash */
/* Temporary buffer to store 160bit digest */
- uint8_t digest[SHA1_HASH_SIZE];
+ uint8 digest[SHA1_HASH_SIZE];
sha1_reset(&context); /* We do not have to check for error here */
/* No need to check error as the only case would be too long message */
sha1_input(&context,(const unsigned char *) sptr->ptr(), sptr->length());