]> git.sesse.net Git - cubemap/commitdiff
Fix some signed/unsigned comparison warnings (pacing_rate should be uint32_t everywhe...
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 1 Dec 2013 00:18:41 +0000 (01:18 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 1 Dec 2013 00:18:41 +0000 (01:18 +0100)
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.
-       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.