summaryrefslogtreecommitdiffstats
path: root/vm/alloc/Copying.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'vm/alloc/Copying.cpp')
-rw-r--r--vm/alloc/Copying.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm/alloc/Copying.cpp b/vm/alloc/Copying.cpp
index 77cdac33c..195670eb1 100644
--- a/vm/alloc/Copying.cpp
+++ b/vm/alloc/Copying.cpp
@@ -461,7 +461,7 @@ GcHeap *dvmHeapSourceStartup(size_t startSize, size_t absoluteMaxSize)
heapSource->allocBlocks = 0;
heapSource->totalBlocks = (heapSource->limitBlock - heapSource->baseBlock);
- assert(heapSource->totalBlocks = heapSource->maximumSize / BLOCK_SIZE);
+ assert(heapSource->totalBlocks == heapSource->maximumSize / BLOCK_SIZE);
{
size_t size = sizeof(heapSource->blockQueue[0]);