diff options
author | Christoph Mallon | 2011-08-07 10:19:30 +0200 |
---|---|---|
committer | Christoph Mallon | 2011-08-07 15:19:08 +0200 |
commit | ab80b20a305728ecbe402ab0461c9a10cd7570b5 (patch) | |
tree | cac50fcfdc20337789b88f1a62da468ca809e6a8 /devtools/create_kyradat/extract.cpp | |
parent | e3e0a317e703fe355275a197043ec8e05005ec7b (diff) | |
download | scummvm-rg350-ab80b20a305728ecbe402ab0461c9a10cd7570b5.tar.gz scummvm-rg350-ab80b20a305728ecbe402ab0461c9a10cd7570b5.tar.bz2 scummvm-rg350-ab80b20a305728ecbe402ab0461c9a10cd7570b5.zip |
COMMON: Replace x + ARRAYSIZE(x) by the simpler ARRAYEND(x).
Diffstat (limited to 'devtools/create_kyradat/extract.cpp')
-rw-r--r-- | devtools/create_kyradat/extract.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/devtools/create_kyradat/extract.cpp b/devtools/create_kyradat/extract.cpp index 2aa9fc0d39..371f2f4e2b 100644 --- a/devtools/create_kyradat/extract.cpp +++ b/devtools/create_kyradat/extract.cpp @@ -127,7 +127,7 @@ const ExtractType *findExtractType(const int type) { } byte getTypeID(int type) { - return std::find(typeTable, typeTable + ARRAYSIZE(typeTable) - 1, type)->value; + return std::find(typeTable, ARRAYEND(typeTable) - 1, type)->value; } // Extractor implementation |