Use uint32_t instead of long int for connection options.
[oweals/tinc.git] / src / connection.h
index 24c95f4cb422881999119b658fd02be4d53f34c4..b3a7e33ff1d391a9d5953cded8dc932d31016943 100644 (file)
@@ -56,7 +56,7 @@ typedef struct connection_t {
        int protocol_version;           /* used protocol */
 
        int socket;                                     /* socket used for this connection */
-       long int options;                       /* options for this connection */
+       uint32_t options;                       /* options for this connection */
        connection_status_t status;     /* status info */
        int estimated_weight;           /* estimation for the weight of the edge for this connection */
        struct timeval start;           /* time this connection was started, used for above estimation */