diff --git a/src/arithmeticDivision.c b/src/arithmeticDivision.c index 34949dd..dfdf00a 100644 --- a/src/arithmeticDivision.c +++ b/src/arithmeticDivision.c @@ -16,11 +16,11 @@ int* division_integer(int dividend, int divisor) { return result; } -long* division_long(long num1, long num2) { - if(num2 == 0) { +long* division_long(long dividend, long divisor) { + if(divisor == 0) { return NULL; } long* result = malloc(sizeof(long)); - *result = num1 / num2; + *result = dividend / divisor; return result; } \ No newline at end of file