summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTDYa127 <a127a127@gmail.com>2011-06-14 13:43:05 +0800
committerTDYa127 <a127a127@gmail.com>2011-06-14 13:43:05 +0800
commitc69d4e2f54c4458541c51e2ae50abd57e52e3ecb (patch)
treefeb6a719ee603a0669d092a09140db5f09b9594f
parent99868784ec457e0af6d9099c07d2f439713d8120 (diff)
downloadlinkloader-c69d4e2f54c4458541c51e2ae50abd57e52e3ecb.tar.gz
Correct variable name.
-rw-r--r--include/ELFObject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ELFObject.h b/include/ELFObject.h
index 450d0e2..f58a2a1 100644
--- a/include/ELFObject.h
+++ b/include/ELFObject.h
@@ -56,7 +56,7 @@ public:
#endif
void *allocateSHNCommonData(size_t size, size_t align = 1) {
- assert(size > 0 && alignment != 0);
+ assert(size > 0 && align != 0);
if (!SHNCommonDataPtr) {
// FIXME: We should not hard code these number!