]> git.sesse.net Git - cubemap/blobdiff - stream.h
Fix some signed/unsigned comparison warnings (pacing_rate should be uint32_t everywhe...
[cubemap] / stream.h
index d29b9246a06f76a776385bad4290f69b6cb171be..5e694aac17966ebb8f030a7a57f37af57e9995d6 100644 (file)
--- a/stream.h
+++ b/stream.h
@@ -85,7 +85,7 @@ struct Stream {
        MarkPool *mark_pool;
 
        // Maximum pacing rate for the stream.
        MarkPool *mark_pool;
 
        // Maximum pacing rate for the stream.
-       int pacing_rate;
+       uint32_t pacing_rate;
 
        // Queued data, if any. Protected by <queued_data_mutex>.
        // The data pointers in the iovec are owned by us.
 
        // Queued data, if any. Protected by <queued_data_mutex>.
        // The data pointers in the iovec are owned by us.