From 41b1d53a0144afe4c31425c18af25c2d6ade881b Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 19 Dec 2011 11:57:02 -0600 Subject: Remove additional unneeded tq method conversions (cherry picked from commit a51cd9949c4e6c726a84a61de3cfadd30cefb5c7) --- kdecore/kallocator.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kdecore/kallocator.cpp') diff --git a/kdecore/kallocator.cpp b/kdecore/kallocator.cpp index 16c1b3625..c02bbf3ff 100644 --- a/kdecore/kallocator.cpp +++ b/kdecore/kallocator.cpp @@ -183,9 +183,9 @@ void KZoneAllocator::delBlock(MemBlock *b) void * KZoneAllocator::allocate(size_t _size) { - // Use the size of (void *) as tqalignment - const size_t tqalignment = sizeof(void *) - 1; - _size = (_size + tqalignment) & ~tqalignment; + // Use the size of (void *) as alignment + const size_t alignment = sizeof(void *) - 1; + _size = (_size + alignment) & ~alignment; if ((unsigned long) _size + blockOffset > blockSize) { -- cgit v1.2.1