summaryrefslogtreecommitdiff
path: root/mysys/my_once.c
diff options
context:
space:
mode:
authormarty@linux.site <>2005-06-30 12:20:52 +0200
committermarty@linux.site <>2005-06-30 12:20:52 +0200
commite4aedcc2c137ba667e3d429031ce284032e11060 (patch)
treed61554cba3c2aa34bee31d02127690c317681d2a /mysys/my_once.c
parent5e4ce743a351f7d1ee55b534dd689e2d082fa146 (diff)
parent2eea2f52089028e97ab1c3b9e33e68fd8eadb094 (diff)
downloadmariadb-git-e4aedcc2c137ba667e3d429031ce284032e11060.tar.gz
Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb
into linux.site:/home/marty/MySQL/mysql-5.0
Diffstat (limited to 'mysys/my_once.c')
-rw-r--r--mysys/my_once.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/my_once.c b/mysys/my_once.c
index a4201810b03..ab5fcc51c0e 100644
--- a/mysys/my_once.c
+++ b/mysys/my_once.c
@@ -81,7 +81,7 @@ gptr my_once_alloc(unsigned int Size, myf MyFlags)
char *my_once_strdup(const char *src,myf myflags)
{
- uint len=strlen(src)+1;
+ uint len= (uint) strlen(src)+1;
char *dst=my_once_alloc(len, myflags);
if (dst)
memcpy(dst, src, len);