Differences From
Artifact [f74e4bde0b]:
111 111 }
112 112 }
113 113 free(om);
114 114 return nm;
115 115 }
116 116
117 117 static bool mapEqPredicate(mapValue a, void* b) {
118 - return a.ip = ((mapValue*)b) -> ip; /* real fucky */
118 + return a.ip == ((mapValue*)b) -> ip; /* real fucky */
119 119 }
120 120
121 121 mapResult mapRFindPred(map* m, void* val, mapPredicate p) {
122 122 for (size_t i = 0; i < m->sz; ++ i) {
123 123 mapBox* b = &m -> boxes[i];
124 124 if (b -> head == nullptr) continue;
125 125 for (mapLink* l = b -> head; l != nullptr; l = l -> next) {