summaryrefslogtreecommitdiff
path: root/sql/sp_cache.cc
diff options
context:
space:
mode:
authormonty@mysql.com <>2003-12-21 02:07:45 +0200
committermonty@mysql.com <>2003-12-21 02:07:45 +0200
commitc6ed2a625b0f89e1cb95cdda5684238f039d77a7 (patch)
treeb4b50b6b03398c2d68a97d79f6b2d07eb470327e /sql/sp_cache.cc
parent0fb8aec1afb4aa62046dbabaa6c6dd210463a6d1 (diff)
downloadmariadb-git-c6ed2a625b0f89e1cb95cdda5684238f039d77a7.tar.gz
Update for VC++
(Fixed project files, compiler warnings etc..)
Diffstat (limited to 'sql/sp_cache.cc')
-rw-r--r--sql/sp_cache.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sp_cache.cc b/sql/sp_cache.cc
index 4fee49c2d81..657a96ec33d 100644
--- a/sql/sp_cache.cc
+++ b/sql/sp_cache.cc
@@ -120,7 +120,7 @@ static byte *
hash_get_key_for_sp_head(const byte *ptr, uint *plen,
my_bool first)
{
- return ((sp_head*)ptr)->name(plen);
+ return (byte*) ((sp_head*)ptr)->name(plen);
}
static void