diff options
Diffstat (limited to 'strings')
-rw-r--r-- | strings/ctype-simple.c | 4 | ||||
-rw-r--r-- | strings/my_strchr.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/strings/ctype-simple.c b/strings/ctype-simple.c index 9d10ba82114..ccc54cbf65f 100644 --- a/strings/ctype-simple.c +++ b/strings/ctype-simple.c @@ -1516,7 +1516,7 @@ my_strntoull10rnd_8bit(CHARSET_INFO *cs __attribute__((unused)), else { *error= 0; - return (ulonglong) (longlong) (long) -ul; + return (ulonglong) (longlong) -(long) ul; } } else @@ -1667,7 +1667,7 @@ ret_sign: return (ulonglong) LONGLONG_MIN; } *error= 0; - return (ulonglong) -ull; + return (ulonglong) -(longlong) ull; } else { diff --git a/strings/my_strchr.c b/strings/my_strchr.c index 3a5fbea906d..9fff52a8962 100644 --- a/strings/my_strchr.c +++ b/strings/my_strchr.c @@ -28,7 +28,7 @@ byte *my_strchr(CHARSET_INFO *cs, const char *str, const char *end, - char c) + pchar c) { uint mbl; while (str < end) |