diff options
Diffstat (limited to 'mysys/mf_strip.c')
-rw-r--r-- | mysys/mf_strip.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/mysys/mf_strip.c b/mysys/mf_strip.c index 712b0e1d28a..b33620b1b2d 100644 --- a/mysys/mf_strip.c +++ b/mysys/mf_strip.c @@ -18,14 +18,14 @@ #include "mysys_priv.h" /* - strip_sp(my_string str) + strip_sp(char * str) Strips end-space from string and returns new length. */ -size_s strip_sp(register my_string str) +size_t strip_sp(register char * str) { - reg2 my_string found; - reg3 my_string start; + reg2 char * found; + reg3 char * start; start=found=str; @@ -35,11 +35,11 @@ size_s strip_sp(register my_string str) { while (*++str && *str != ' ') {}; if (!*str) - return (size_s) (str-start); /* Return stringlength */ + return (size_t) (str-start); /* Return stringlength */ } found=str; while (*++str == ' ') {}; } *found= '\0'; /* Stripp at first space */ - return (size_s) (found-start); + return (size_t) (found-start); } /* strip_sp */ |