fix(internal): Correct potential nil pointer err
[ric-plt/lib/rmr.git] / src / rmr / common / include / rmr_agnostic.h
index 0d4458a..c037900 100644 (file)
@@ -165,7 +165,7 @@ typedef struct {                                            // old (inflexible) v1 header
        Round robin group.
 */
 typedef struct {
-       int     ep_idx;                         // next endpoint to send to
+       uint16_t        ep_idx;         // next endpoint to send to
        int nused;                              // number of endpoints in the list
        int nendpts;                    // number allocated
        endpoint_t **epts;              // the list of endpoints that we RR over