mirror of
https://github.com/MariaDB/server.git
synced 2025-09-02 09:41:40 +03:00
use "unsigned long" type just as in function declaration and add surrounding parentheses.
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user