Palettized image test.
This commit is contained in:
1 parent
71080682cc
commit
8de12da1ec
14 files changed
+394
-39
No files matched your search
+1
-1
@@ -30,7 +30,7 @@ ref_t refListLock(reflist_t *list) {
|
||||
assertFalse(refListIsFull(list), "Reference list is full");
|
||||
|
||||
ref_t ref = list->refNext++;
|
||||
assertTrue(ref > 0, "Reference ID overflow");
|
||||
assertTrue(ref >= 0, "Reference ID overflow");
|
||||
assertTrue(ref < UINT16_MAX, "Reference ID too large.");
|
||||
|
||||
bool_t empty = list->onNotEmpty && refListIsEmpty(list);
|
||||
|
||||
Reference in new issue
Block a user