summaryrefslogtreecommitdiff
path: root/src/macros.h
diff options
context:
space:
mode:
authorskidd13 <skidd13@openttd.org>2007-11-19 20:40:14 +0000
committerskidd13 <skidd13@openttd.org>2007-11-19 20:40:14 +0000
commit58bb5c752568f8f9a1cb4d9533268d0ecad34e12 (patch)
tree6112141c4dddc87df3ac0db557f34623319c73e0 /src/macros.h
parentd076ea8697a61a4d7783bd6e1b5c7f12ecc2ec83 (diff)
downloadopenttd-58bb5c752568f8f9a1cb4d9533268d0ecad34e12.tar.xz
(svn r11480) -Codechange: Rename the function ALIGN fitting to the naming style
This fixes also FS#1450
Diffstat (limited to 'src/macros.h')
-rw-r--r--src/macros.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/macros.h b/src/macros.h
index 75cd43b7a..a4dd78845 100644
--- a/src/macros.h
+++ b/src/macros.h
@@ -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));
}