summaryrefslogtreecommitdiffstats
path: root/src/ufo-roof-buffer.h
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-11-17 10:46:03 +0100
committerSuren A. Chilingaryan <csa@suren.me>2019-11-17 10:46:03 +0100
commit23f22348c5281fff685c1fa89255e7e1e76266a4 (patch)
treefb05ad7fb39357ff8785068b3a1512101d685f41 /src/ufo-roof-buffer.h
parent3d93df54d024f49895db6277e873dccd10b5baec (diff)
downloadufo-roof-23f22348c5281fff685c1fa89255e7e1e76266a4.tar.gz
ufo-roof-23f22348c5281fff685c1fa89255e7e1e76266a4.tar.bz2
ufo-roof-23f22348c5281fff685c1fa89255e7e1e76266a4.tar.xz
ufo-roof-23f22348c5281fff685c1fa89255e7e1e76266a4.zip
cmake build and gcc warnings
Diffstat (limited to 'src/ufo-roof-buffer.h')
-rw-r--r--src/ufo-roof-buffer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ufo-roof-buffer.h b/src/ufo-roof-buffer.h
index bb71791..367f2d5 100644
--- a/src/ufo-roof-buffer.h
+++ b/src/ufo-roof-buffer.h
@@ -7,8 +7,8 @@ struct _UfoRoofBuffer {
guint current_id; // The ID of the first (active) dataset in the buffer
guint ring_size; // Number of datasets to buffer
- void *ring_buffer; // The ring buffer
- _Atomic int *n_fragments; // Number of completed fragments in each buffer
+ uint8_t *ring_buffer; // The ring buffer
+ _Atomic guint *n_fragments; // Number of completed fragments in each buffer
guint *stream_fragment; // Currently processed fragment in the stream (for ordered streams)
// int *fragments; // Mark individual completed fragments (if we care for partial data)