aboutsummaryrefslogtreecommitdiffstats
path: root/clox/src/memory.c
diff options
context:
space:
mode:
Diffstat (limited to 'clox/src/memory.c')
-rw-r--r--clox/src/memory.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/clox/src/memory.c b/clox/src/memory.c
index abf1cdd..0a9e3f7 100644
--- a/clox/src/memory.c
+++ b/clox/src/memory.c
@@ -49,8 +49,8 @@ void markObject(Obj *object) {
if (vm.grayCapacity < vm.grayCount + 1) {
vm.grayCapacity = GROW_CAPACITY(vm.grayCapacity);
- vm.grayStack =
- (Obj **)realloc(vm.grayStack, sizeof(Obj *) * vm.grayCapacity);
+ vm.grayStack
+ = (Obj **)realloc(vm.grayStack, sizeof(Obj *) * vm.grayCapacity);
if (vm.grayStack == NULL)
exit(1);
}