File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -855,7 +855,7 @@ is_e_digits(CONST char *errsym)
855855 * check for only digits remaining
856856 */
857857 for (p = errsym + 2 ; * p != '\0' ; ++ p ) {
858- if (!isascii (* p ) || !isdigit (* p )) {
858+ if (!isascii (( int ) * p ) || !isdigit (( int ) * p )) {
859859 return false;
860860 }
861861 }
@@ -1090,7 +1090,7 @@ is_e_1string(CONST char *errsym)
10901090 * must match regular expression: ^E_[A-Z][A-Z0-9_]+$
10911091 */
10921092 for (p = errsym + 3 ; * p != '\0' ; ++ p ) {
1093- if (!isascii (* p ) || !(isupper (* p ) || isdigit (* p ) || * p == '_' )) {
1093+ if (!isascii (( int ) * p ) || !(isupper (( int ) * p ) || isdigit (( int ) * p ) || * p == '_' )) {
10941094 return false;
10951095 }
10961096 }
@@ -2183,8 +2183,8 @@ print_errsym(void)
21832183int
21842184main (int argc , char * argv [])
21852185{
2186- extern char * optarg ; /* argv index of the next arg */
2187- extern int optind ; /* argv index of the next arg */
2186+ EXTERN char * optarg ; /* argv index of the next arg */
2187+ EXTERN int optind ; /* argv index of the next arg */
21882188 int e_flag = 0 ; /* 1 ==> -e flag was used */
21892189 int d_flag = 0 ; /* 1 ==> -s flag was used */
21902190 int i ;
You can’t perform that action at this time.
0 commit comments