Skip to content

Commit

Permalink
Merge pull request #55 from patricks/master
Browse files Browse the repository at this point in the history
Changed defines to iOS compatible version. (LONG_LONG_MIN -> LLONG_MIN)
  • Loading branch information
davedelong committed Jan 10, 2014
2 parents 99086a0 + 7396579 commit ecc0b73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DDMathParser/_DDFunctionEvaluator.m
Original file line number Diff line number Diff line change
Expand Up @@ -402,8 +402,8 @@ - (DDExpression *)random:(NSArray *)arguments variables:(NSDictionary *)variable
[params addObject:value];
}

long long lowerBound = LONG_LONG_MIN;
long long upperBound = LONG_LONG_MAX;
long long lowerBound = LLONG_MIN;
long long upperBound = LLONG_MAX;

if ([params count] > 0) {
lowerBound = [[params objectAtIndex:0] longLongValue];
Expand Down

0 comments on commit ecc0b73

Please sign in to comment.