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 d29b924..5e694aa 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.