FFlist: fix return value of ffListPop

This commit is contained in:
李通洲
2024-12-19 13:37:05 +08:00
parent 3bb82423b3
commit 41240e9460
+1 -1
View File
@@ -34,5 +34,5 @@ bool ffListPop(FFlist* list, void* result)
memcpy(result, ffListGet(list, list->length - 1), list->elementSize);
--list->length;
return result;
return true;
}