FFlist: fix return value of ffListPop
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -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;
|
||||
}
|
||||
Reference in new issue
Block a user