diff options
Diffstat (limited to 'transact.c')
-rw-r--r-- | transact.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -52,9 +52,9 @@ /* session variables initialized in init_transact() */ int suppress_tags = FALSE; /**< emit tags in the protocol? */ char tag[TAGLEN]; /**< buffer for the tag */ -static int tagnum; /**< local counter for the tag */ +static unsigned int tagnum; /**< local counter for the tag */ /** Macro to generate the tag and store it in #tag. */ -#define GENSYM (sprintf(tag, "A%04d", ++tagnum % TAGMOD), tag) +#define GENSYM (sprintf(tag, "A%04u", ++tagnum % TAGMOD), tag) static const struct method *protocol; /**< description of the protocol used for the current poll */ char shroud[PASSWORDLEN*2+3]; /**< string to shroud in debug output */ |