Commit 2befefd4 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

picture_pool: partly fix integer overflow

picture_pool_NonEmpty() still won´t work quite right when the overflow
happens, but that function is a horrible dysfunctional hack anyway.
parent 5d78deeb
......@@ -41,11 +41,11 @@ struct picture_gc_sys_t {
picture_pool_t *pool;
picture_t *picture;
bool in_use;
int64_t tick;
uint64_t tick;
};
struct picture_pool_t {
int64_t tick;
uint64_t tick;
/* */
unsigned picture_count;
picture_t **picture;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment