summaryrefslogtreecommitdiff
path: root/strings
diff options
context:
space:
mode:
authorunknown <konstantin@mysql.com>2005-01-14 01:59:03 +0300
committerunknown <konstantin@mysql.com>2005-01-14 01:59:03 +0300
commit653db58bee2755c80642549b4536832ddaa200eb (patch)
tree72b77cc52d7b2b586e4b69762078f26eb2584674 /strings
parent4799f077504f76f46c433b197e86ad59809a0ffb (diff)
downloadmariadb-git-653db58bee2755c80642549b4536832ddaa200eb.tar.gz
fix C++ comments in C file (fixed in 5.0 already)
strings/ctype-uca.c: fix C++ comments in C file
Diffstat (limited to 'strings')
-rw-r--r--strings/ctype-uca.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/strings/ctype-uca.c b/strings/ctype-uca.c
index 4992ef2dcd1..452ca263433 100644
--- a/strings/ctype-uca.c
+++ b/strings/ctype-uca.c
@@ -7214,7 +7214,7 @@ static int my_strnxfrm_uca(CHARSET_INFO *cs,
uchar *dst, uint dstlen,
const uchar *src, uint srclen)
{
- uchar *de = dst + (dstlen & (uint) ~1); // add even length for easier code
+ uchar *de = dst + (dstlen & (uint) ~1); /* add even length for easier code */
int s_res;
my_uca_scanner scanner;
scanner_handler->init(&scanner, cs, src, srclen);
@@ -7232,7 +7232,7 @@ static int my_strnxfrm_uca(CHARSET_INFO *cs,
dst[1]= s_res & 0xFF;
dst+= 2;
}
- if (dstlen & 1) // if odd number then fill the last char
+ if (dstlen & 1) /* if odd number then fill the last char */
*dst= '\0';
return dstlen;