Skip to content

Commit be2e127

Browse files
committed
Replaced: int32_t -> uint32_t
1 parent 2be202d commit be2e127

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/tp_transcode.c

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,10 +116,13 @@ enum stage {
116116
typedef struct {
117117
char *ptr;
118118
/**
119-
* The count should be more than uint16_t!
120-
* https://github.com/tarantool/nginx_upstream_module/issues/84
119+
* The count should be more than uint16_t or
120+
* overflow can be happened like it was.
121+
*
122+
* Here is a issue with details
123+
* https://github.com/tarantool/nginx_upstream_module/issues/84
121124
*/
122-
int32_t count;
125+
uint32_t count;
123126
uint16_t type;
124127
} stack_item_t;
125128

0 commit comments

Comments
 (0)