aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/interfaces/odbc/multibyte.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/odbc/multibyte.c b/src/interfaces/odbc/multibyte.c
index d365618fc78..316ca40efbd 100644
--- a/src/interfaces/odbc/multibyte.c
+++ b/src/interfaces/odbc/multibyte.c
@@ -15,7 +15,7 @@ int multibyte_status ; /* Multibyte Odds and ends character. */
unsigned char *multibyte_strchr(unsigned char *s,unsigned char c)
{
int mb_st = 0 ,i = 0;
- while (!(mb_st == 0 && s[i] == c || s[i] == 0))
+ while (!(mb_st == 0 && (s[i] == c || s[i] == 0)))
{
if (s[i] == 0)
return (0);