about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/custommem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/custommem.c b/src/custommem.c
index 24505759..d75f17b1 100644
--- a/src/custommem.c
+++ b/src/custommem.c
@@ -550,7 +550,7 @@ void FreeDynarecMap(uintptr_t addr)
             return;
         }
         ++i;
-        if(i=NCHUNK) {
+        if(i==NCHUNK) {
             i = 0;
             list = list->next;
         }