Max pending should be unsigned
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 19 Jan 2015 14:02:36 +0000 (21:02 +0700)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 19 Jan 2015 14:02:36 +0000 (21:02 +0700)
src/main/connection.c

index fbcee52..b2d6536 100644 (file)
@@ -126,7 +126,7 @@ struct fr_connection_pool_t {
        time_t          last_at_max;    //!< Last time we hit the maximum number
                                        //!< of allowed connections.
 
-       int             max_pending;    //!< Max number of connections to open
+       uint32_t        max_pending;    //!< Max number of connections to open
 
        uint64_t        count;          //!< Number of connections spawned over
                                        //!< the lifetime of the pool.