summaryrefslogtreecommitdiff
path: root/strings
diff options
context:
space:
mode:
Diffstat (limited to 'strings')
-rw-r--r--strings/ctype.c1
-rw-r--r--strings/strto.c2
-rw-r--r--strings/t_ctype.h8
3 files changed, 5 insertions, 6 deletions
diff --git a/strings/ctype.c b/strings/ctype.c
index b343ff44bcd..dc827e1a471 100644
--- a/strings/ctype.c
+++ b/strings/ctype.c
@@ -16,7 +16,6 @@
MA 02111-1307, USA */
#include <my_global.h>
-
#include <m_ctype.h>
#include <m_string.h>
diff --git a/strings/strto.c b/strings/strto.c
index adada98e143..72ab29caed3 100644
--- a/strings/strto.c
+++ b/strings/strto.c
@@ -197,7 +197,7 @@ function (const char *nptr,char **endptr,int base)
}
/* Return the result of the appropriate sign. */
- return (negative ? -((longtype) i) : i);
+ return (negative ? -((longtype) i) : (longtype) i);
noconv:
/* There was no number to convert. */
diff --git a/strings/t_ctype.h b/strings/t_ctype.h
index 6aca3fa911c..6699244c1f4 100644
--- a/strings/t_ctype.h
+++ b/strings/t_ctype.h
@@ -123,7 +123,7 @@ enum l1_symbols {
L1_SARA_AE,
L1_SARA_O,
L1_SARA_AI_MAIMUAN,
- L1_SARA_AI_MAIMALAI,
+ L1_SARA_AI_MAIMALAI
};
// level 2 symbols & order
@@ -137,7 +137,7 @@ enum l2_symbols {
L2_TONE1,
L2_TONE2,
L2_TONE3,
- L2_TONE4,
+ L2_TONE4
};
// level 3 symbols & order
@@ -182,7 +182,7 @@ enum l3_symbols {
L3_LESS_THAN,
L3_EQUAL,
L3_GREATER_THAN,
- L3_V_LINE,
+ L3_V_LINE
};
// level 4 symbols & order
@@ -190,7 +190,7 @@ enum l4_symbols {
L4_BLANK = TOT_LEVELS,
L4_MIN,
L4_CAP,
- L4_EXT,
+ L4_EXT
};
enum level_symbols {