(svn r11480) -Codechange: Rename the function ALIGN fitting to the naming style

This fixes also FS#1450
This commit is contained in:
skidd13
2007-11-19 20:40:14 +00:00
parent d076ea8697
commit 58bb5c7525
10 changed files with 9 additions and 18 deletions

View File

@@ -553,7 +553,7 @@ template<typename T> static inline T ROR(const T x, const uint8 n)
* @param n The base of the number we are searching
* @return The smallest multiple of n equal or greater than x
*/
template<typename T> static inline T ALIGN(const T x, uint n) {
template<typename T> static inline T Align(const T x, uint n) {
n--;
return (T)((x + n) & ~(n));
}