Skip to content

Commit

Permalink
Merge pull request #410 from bjornjensen/negative_char_value
Browse files Browse the repository at this point in the history
Fix negative char value issue
  • Loading branch information
joakim-hove authored May 22, 2018
2 parents 654d62e + 8b7375f commit e4063ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ecl/ecl_util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ static bool valid_base(const char * input_base, bool * upper_case) {
base = input_base;

for (size_t i=0; i < strlen(base); i++) {
char c = base[i];
unsigned char c = base[i];

if (isupper(c))
upper = true;
Expand Down

0 comments on commit e4063ce

Please sign in to comment.