Commit 6d5997b0 authored by unknown's avatar unknown

use "unsigned long" type just as in function declaration and add surrounding parentheses.

parent 18fb4c50
...@@ -497,7 +497,7 @@ char *metaphon(UDF_INIT *initid, UDF_ARGS *args, char *result, ...@@ -497,7 +497,7 @@ char *metaphon(UDF_INIT *initid, UDF_ARGS *args, char *result,
} }
} }
} }
*length= (ulong) (max(0, result - org_result - 1)); *length= (unsigned long) (result - org_result);
return org_result; return org_result;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment